I have this code:
Sub InsertPhotos_Click() Range("Photo1").Select ActiveSheet.Pictures.Insert("U:\Trial\1.jpg").Select Selection.ShapeRange.Height = 151.2 Selection.ShapeRange.IncrementLeft 27 Selection.ShapeRange.IncrementTop 3 End Sub
I need to be able to name the filename 1-xxxx, but not sure how to use a wildcard. When the filename is 1, the code does what I want it to. Any help would be great, thanks!