Bonjour le forum
je débute en VBA et je souhaiterais faire une boucle avec le code ci dessous :
Pouvez vous m'expliquer comment faire
Merci d'avance pour vos réponses
bricoltou
je débute en VBA et je souhaiterais faire une boucle avec le code ci dessous :
Pouvez vous m'expliquer comment faire
Merci d'avance pour vos réponses
bricoltou
Code:
Range("B16:C16").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
End With
Selection.Merge
Range("B17:C17").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
End With
Selection.Merge
Range("B18:C18").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
End With
Selection.Merge
Range("B19:C19").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
End With
Selection.Merge
Range("B20:C20").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
End With
Selection.Merge
Range("B21:C21").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
End With
Selection.Merge
Range("B22:C22").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
End With
Selection.Merge
Range("B23:C23").Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
End With
Selection.Merge