FATS
New Member
- Joined
- Jan 16, 2009
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
Hi Folks,
Can somebody tell me how can I store in a variable the name of the image of which triggered the a macro if more than one image is assigned to the very same macro?
image1
image2
image3
image4
image5
All run macro1
Sub macro1()
'
imagenum = image(1, 2, 3, 4, or 5).Name [or equivalent]
'
End Sub
Can somebody tell me how can I store in a variable the name of the image of which triggered the a macro if more than one image is assigned to the very same macro?
image1
image2
image3
image4
image5
All run macro1
Sub macro1()
'
imagenum = image(1, 2, 3, 4, or 5).Name [or equivalent]
'
End Sub