The code below will center an image within a cell, given that you know both the name of the image and the cell that it is located in. Is anyone familiar with a dynamic loop that will search a single sheet for every image in that sheet and center every image in its current cell? If this isnt possible is there a way to change the code so that you can loop through a specific range? For example A4:A10
Sub CenterImages()
With ActiveSheet.Shapes("Picture 1")
.Top = Range("B1").Top + (Range("B1").Height - .Height) / 2
.Left = Range("B1").Left + (Range("B1").Width - .Width) / 2
End With
End Sub