Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I have an add-in which I load in Excel by passing the add-in to Excel command line. The add-in opens a workbook does some work and then invokes a macro present in the workbook as belows Application.Run ("'" & RptObj.Name & "'!" & strMacroName) I have observed that the Macro is invoked twice if the strMacroName has macro name like Main() i.e. with parantheses. But if strMacroName does not contain "()" parantheses then macro is invoked once only. Any idea what is happening or what I did wrong. Thanks for any help in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Prevent Cell modification when Excel is executed | Excel Discussion (Misc queries) | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
My excel macro recorder no longer shows up when recording macro | Excel Discussion (Misc queries) | |||
Excel Checkbox can be regconized in a formula and be executed | Excel Worksheet Functions | |||
When a cell is merely selected, executed an evaluation? | New Users to Excel |