Hi, You could have a play with this.
This code originally related to small pictures of Flags that had been already inserted in the sheet.
The code just arranges then across & down the sheet.
Dim oPic As Shape, allpic As String
Dim oP As String, ac As Integer, c, t
Me.Pictures.Visible = True
c = 10
t = 10
For Each oPic In Me.Shapes
If oPic.Type = 13 Then
With oPic 'ActiveSheet.Shapes(oPic.Name)
.Width = 0
.Height = 50
.Top = t
.Left = c
c = c + 70
If c >= 560 Then t = t + 70
c = IIf(c >= 560, 10, c)
.ScaleHeight 0.75, msoFalse, msoScaleFromTopLeft
End With
End If
Next oPic
Regards Mick
Bookmarks