Hi
I'm able to run a macro in word through an automation object, but I have a problem retrieving the return value of the run() function. I want to check for the existence of a specific macro name in the word document. If the macro does not exist, Navision must give an alert that I would like to define myself. But before passing back a return value to Navision, an error message appears saying 'the call to member Run failed. Microsoft Word returned the following message: Unable to run the specified macro'.
Is there a way to achieve this ?
Best regards
R
0