Similar Posts

Subscribe
Notify of
3 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
daCypher
1 year ago

Do you mean a VBA macro with the add-in in Word?

You can start Word with command line parameters, such as:

winword.exe "C:\Pfad-zur-Datei\Datei.docm" /mmacroname

But only if you have set in Word’s Trust Center that macros are allowed or trusted locations are stored. Normally macros are disabled