Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a set of about a dozen pictures on a worksheet, all linked to the same
macro. When the Shape is clicked, the common macro executes. How can I determine which Shape the user clicked? -- Gary''s Student - gsnu2007xx |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sCaller = Application.Caller
' then maybe Select Case sCaller ' or maybe Set shp = ActiveSheet.Shapes(sCaller) Regards, Peter T "Gary''s Student" wrote in message ... I have a set of about a dozen pictures on a worksheet, all linked to the same macro. When the Shape is clicked, the common macro executes. How can I determine which Shape the user clicked? -- Gary''s Student - gsnu2007xx |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks !
-- Gary''s Student - gsnu200786 "Peter T" wrote: sCaller = Application.Caller ' then maybe Select Case sCaller ' or maybe Set shp = ActiveSheet.Shapes(sCaller) Regards, Peter T "Gary''s Student" wrote in message ... I have a set of about a dozen pictures on a worksheet, all linked to the same macro. When the Shape is clicked, the common macro executes. How can I determine which Shape the user clicked? -- Gary''s Student - gsnu2007xx |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
enter time when shape is clicked | Excel Discussion (Misc queries) | |||
Get name of clicked Shape | Excel Programming | |||
Detect which shape was clicked.... | Excel Programming | |||
Detect which shape was clicked? | Excel Programming | |||
detecting shape clicked on | Excel Programming |