Using VBA Word Macro

Post Reply
bepsy72
Newbie
Posts: 4
Joined: Thu Sep 04, 2014 9:43 am

Using VBA Word Macro

Post by bepsy72 »

Does Anybody know how to use word macro inside Switch?

I need to make some text processing before generating a pdf from word files.

I try to use Define script expression in the macro menu and put inside some vb code but it doesn't work...



thank you
freddyp
Advanced member
Posts: 1023
Joined: Thu Feb 09, 2012 3:53 pm

Using VBA Word Macro

Post by freddyp »

The "Macro" property of the Word configurator requires you to specify the name of the macro, not the VBA code!



You can use a script expression on that property, but that is to use a piece of Javascript code to determine the name of the macro to be used.



Freddy
Post Reply