J
Jean-Baptiste
Guest
Bonjour à tous,
J'ai un problème avec ma macro.
Elle ne me copie pas la selection que je lui indique.
Voici une partie de ma macro :
'Selectionne le 1er lot
If Range("I45").Value = "" Then Call Macro1
ligne = Range("I45")
ligne2 = Range("I46")
Range("A28:" & ligne, ("ai28" & ligne2)).Select
Selection.Copy
Range("J48").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
Sheets("1er lot").Select
La cellule I45 correspond à =SI(G28="";"";"H"&27+NB($G$28:$G$37))
La cellule I46 correspond à =SI(G28="";"";"ai"&27+NB($G$28:$G$37))
Merci pour vos réponses
JB
J'ai un problème avec ma macro.
Elle ne me copie pas la selection que je lui indique.
Voici une partie de ma macro :
'Selectionne le 1er lot
If Range("I45").Value = "" Then Call Macro1
ligne = Range("I45")
ligne2 = Range("I46")
Range("A28:" & ligne, ("ai28" & ligne2)).Select
Selection.Copy
Range("J48").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
Sheets("1er lot").Select
La cellule I45 correspond à =SI(G28="";"";"H"&27+NB($G$28:$G$37))
La cellule I46 correspond à =SI(G28="";"";"ai"&27+NB($G$28:$G$37))
Merci pour vos réponses
JB