T
titiraf
Guest
Bonjour, j'ai un souci avec cette routine.La boucle tourne indéfiniment.
Merci de votre aide.
Sub cotisations()
Do
If ActiveCell.Font.Bold = True Then ActiveCell.Offset(0, 1).Value = _
Range("B2")
Else
ActiveCell.Offset(0, 1).Value = _
Range("B1")
End If
ActiveCell.Offset(1, 0).Select
If ActiveCell.Value = " " Then Exit Do
Loop
End Sub
Merci de votre aide.
Sub cotisations()
Do
If ActiveCell.Font.Bold = True Then ActiveCell.Offset(0, 1).Value = _
Range("B2")
Else
ActiveCell.Offset(0, 1).Value = _
Range("B1")
End If
ActiveCell.Offset(1, 0).Select
If ActiveCell.Value = " " Then Exit Do
Loop
End Sub