If you want to know the shape name and shape inside text which you have clicked to Run a Macro. Snapshot Below-
Here is the code
Sub test()
' it will display you the shape name which you have clicked
MsgBox "Shape Name ---------> " & Application.Caller
' it will display you the text inside the shape which you have clicked
MsgBox "Shape Inside Text ---------> " & ActiveSheet.Shapes(Application.Caller).TextFrame.Characters.Text
End Sub
assign this macro to each shape.
Excel Macro File http://www.filefactory.com/file/cd26f4b/n/Design.xlsm
Subscribe to:
Post Comments (Atom)
Import data from SQL
Macro to import data from SQL using ADO connection string: Sub Import_data_from_SQL() ' Tools -> References -> Microsoft Active...
-
If you want to add a new pop up button on mouse right click menu and as soon as you click on it . It shows you multiple buttons with macro a...
-
you can use offset function to create a dynamic source for the pivot . Dyanmic source here means every time you add anew rows of data to the...
No comments:
Post a Comment