SerenityNetworks
Board Regular
- Joined
- Aug 13, 2009
- Messages
- 131
- Office Version
- 365
- Platform
- Windows
I'll use a macro to display several images in a worksheet. Then I'll enter some data in worksheet cells. After that I'll trigger another macro to delete the current images and then trigger the first macro to display a new set of images. All of this works fine.
What I'd like to do now is click on an image and be able to identify the image that was clicked. I'm not a coder, so I'm at a loss how to accomplish this task.
When I use the record macro feature, I record code like the following when I click on an image.
How can I click on an image and store the image selected as a variable (so I can manipulate the image in other procedures)?
Thanks in advance,
Andrew
What I'd like to do now is click on an image and be able to identify the image that was clicked. I'm not a coder, so I'm at a loss how to accomplish this task.
When I use the record macro feature, I record code like the following when I click on an image.
Code:
ActiveSheet.Shapes.Range(Array("Picture 39045")).Select
Thanks in advance,
Andrew