Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Jase,
The Application.Caller property will return a String containing the name of the shape that caused the macro to be called. You can use this in code similar to Dim SH As Shape Set SH = ActiveSheet.Shapes(Application.Caller) -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Jase" wrote in message ... Hi All I have this problem that I have a sheet with lots of shapes on it that I am using as buttons. All of the shapes are calling to exactly the same macro and the only difference between the shapes is that they have a different web text string associated with them. The problem is that I can not seem to determine which shape is calling the macro. Is there a command that I can use to extract the web text from the shape that called the macro? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel document with shapes on it but the shapes do not print | Excel Worksheet Functions | |||
Naming Auto Shapes and Creating new Shapes | Excel Discussion (Misc queries) | |||
When drawing shapes in excel the shapes keep disappearing | Excel Discussion (Misc queries) | |||
How can i get more 3D shapes for Auto shapes in excel? | Excel Discussion (Misc queries) | |||
How can i get more 3D shapes for Auto shapes in excel? | Excel Discussion (Misc queries) |