Usine à gaz
XLDnaute Barbatruc
Bonjour à tous,
J'ai fait la macro suivante :
Sub CopieOF()
'
' CopieOF Macro
'
'
If [h1] = 0 Then
Call CopieOF1
End If
If [s1] = 0 Then
Call CopieOF2
End If
If [ad1] = 0 Then
Call CopieOF3
End If
If [ao1] = 0 Then
Call CopieOF4
End If
If [az1] = 0 Then
Call CopieOF5
End If
If [bk1] = 0 Then
Call CopieOF6
End If
End Sub
J'ai besoin qu'elle s'arrête quand la condition est remplie mais elle s'exécute toujours jusqu'au bout.
Pourriez-vous me donner les instructions qui manquent ?
Merci de votre aide (une fois de plus LOl),
Amicalement,
Lionel,
J'ai fait la macro suivante :
Sub CopieOF()
'
' CopieOF Macro
'
'
If [h1] = 0 Then
Call CopieOF1
End If
If [s1] = 0 Then
Call CopieOF2
End If
If [ad1] = 0 Then
Call CopieOF3
End If
If [ao1] = 0 Then
Call CopieOF4
End If
If [az1] = 0 Then
Call CopieOF5
End If
If [bk1] = 0 Then
Call CopieOF6
End If
End Sub
J'ai besoin qu'elle s'arrête quand la condition est remplie mais elle s'exécute toujours jusqu'au bout.
Pourriez-vous me donner les instructions qui manquent ?
Merci de votre aide (une fois de plus LOl),
Amicalement,
Lionel,