Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to run a macro if I don't know the name in advance
I am trying to create a macro on the fly using vb code from an existing file,
and then run the Macro that was just created. Is there a way to find out the name of a Macro programmatically so that I can pass it to the Application.Run method? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to run a macro if I don't know the name in advance
Maybe:
myMacroName = Application.Dialogs(xlDialogMacroOptions).Show "Himanshu" wrote in message ... I am trying to create a macro on the fly using vb code from an existing file, and then run the Macro that was just created. Is there a way to find out the name of a Macro programmatically so that I can pass it to the Application.Run method? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro for HEAT chart - THANKS IN ADVANCE! | Excel Worksheet Functions | |||
advance filter sustitution in a macro - shared workbook | Excel Worksheet Functions | |||
Deleting rows with Advance Filter in recorded Macro | Excel Programming | |||
Macro to advance current row by 1 | Excel Programming | |||
Macro to advance current row by 1 | Excel Programming |