How can I put this code in a cycle? For example start the cylce in the A3 cell, end of the cycle in A100 cell.
Sub CenterImages()
With ActiveSheet.Shapes("Picture 1")
.Top = Range("A1").Top + (Range("A1").Height - .Height) / 2
.Left = Range("A1").Left + (Range("A1").Width - .Width) / 2
End With
End Sub