Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Which picture was clicked
I have several hundred pictures on a worksheet. I want to assign the same
macro to each picture, but have the macro determine which picture was clicked. Is this possible? Bob |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Which picture was clicked
Dim myPict as picture
set mypict = activesheet.pictures(Application.caller) msgbox mypict.name & vblf & mypict.topleftcell.address 'or anything you want Bob Flanagan wrote: I have several hundred pictures on a worksheet. I want to assign the same macro to each picture, but have the macro determine which picture was clicked. Is this possible? Bob -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Which picture was clicked
Many thanks.
Bob "Dave Peterson" wrote in message ... Dim myPict as picture set mypict = activesheet.pictures(Application.caller) msgbox mypict.name & vblf & mypict.topleftcell.address 'or anything you want Bob Flanagan wrote: I have several hundred pictures on a worksheet. I want to assign the same macro to each picture, but have the macro determine which picture was clicked. Is this possible? Bob -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Connect a number to a picture bank and import that picture to exce | Excel Discussion (Misc queries) | |||
Clicked NO to save, should have clicked YES | Excel Discussion (Misc queries) | |||
How can I pop up a picture when a cell is clicked on Excel? | Excel Discussion (Misc queries) | |||
Problem inserting a picture in Excel that ONLY shows when clicked | Excel Discussion (Misc queries) | |||
Change cell value when right-clicked/double-clicked | Excel Programming |