Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need help with this unusual problem that does not happen when I am in debug mode. The following line of code is in a function defined in a VB project: Application.Run "'" + ActiveWorkbook.Name + "'!" + macro And I'm calling this VB function from Excel and the macro is implemented in a VBA module in Excel. When I'm debugging, i.e. VB is Run and then start Excel and call the VB function, the function gets called but the Application.Run does not give any error and all works fine. However if I dont run VB in background, just open Excel add VB reference and call the VB function, Application.Run says that macro not found. If anyone out there has any clues, please help....thanks in advance. - Andy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Application.OnKey Macro Cannot be found | Excel Programming | |||
Macro cannot be found | Excel Discussion (Misc queries) | |||
Macro cannot be found | Excel Programming | |||
macro to close excel application other than application.quit | Excel Programming | |||
macro not found | Excel Programming |