Re : Lancer Macro, Mettre en Stand By et continuer..
Salut, Porcinet..
Ton bout de Macro fonctionne, et je l'ai placer au bon endroit sur ma macro principal .. mais la msgbox apparait avant de voir apparaitre mes cellules rempli.. pourtant j'ai bien positionner ton bout de macro presque a la fin..
Je te colle le denut de ma macro ainsi que la fin ou tu pourras voir ou j'ai positionner ton bout...
Sub AMALGAME()
Application.ScreenUpdating = False
tricro
EffacerColonneC
TrierListe
ChercherDoublons
copiecoll
tricolamal
standby
tricroissant
End Sub
ici plein de calcul
Sub tricolamal()
Range("C1").Select
Selection.Sort Key1:=Range("C1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
End Sub
Sub standby()
For i = 1 To 10
Cells(i, 1).Value = i
Next i
MsgBox "Pause de la macro. Pour continuer, un petit click sur Ok !!!", vbInformation + vbOKOnly
End Sub
Sub tricroissant()
Range("A1").Select
Selection.Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
End Sub
Suis la ... Patrick