U
Uday
I am working on application that uses "WordBasic" method calls.
One of the call it uses is "CountMacros".
I invoke the application with a word document that has macros "Macro1" and
"Macro2" as part of normal.dot template to perform some functionality.
Now the "CountMacros" call should return 5. But it doesnot do so.
I checked the macro names, it lists "ThisDocument", "NewMacros" and
"Module1" as the only macros available.
I am able to view as well as use the macros "Macro1" and "Macro2" in the
word document manually but not programatically.
I cannot change the "WordBasic" calls.
Can anyone help me out with reasons for such behavior? OR
Am I doing something wrong? OR
Do I need to do anything else to get the macros in my program?
Thanks in advance.
One of the call it uses is "CountMacros".
I invoke the application with a word document that has macros "Macro1" and
"Macro2" as part of normal.dot template to perform some functionality.
Now the "CountMacros" call should return 5. But it doesnot do so.
I checked the macro names, it lists "ThisDocument", "NewMacros" and
"Module1" as the only macros available.
I am able to view as well as use the macros "Macro1" and "Macro2" in the
word document manually but not programatically.
I cannot change the "WordBasic" calls.
Can anyone help me out with reasons for such behavior? OR
Am I doing something wrong? OR
Do I need to do anything else to get the macros in my program?
Thanks in advance.