Discussion Locked

IE and Word Macros

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We created a ColdFusion application for our policies and uploaded on our intranet. When a user clicks on a link, a Word document opens in IE. The problem is when the user clicks on the Back button, macros attached to the Word template try to execute. For update purposes, we need the macros in the documents and do not want to delete them, but how can we keep them from trying to execute in IE?

3 replies

by dmiles

This may or may not work for you,but the idea is to add a line switch at the end of path that will stop the Auto Execute macros
Right-click the shortcut and choose properties
In the Target box or on the command line enter path to word usually is C:\Program Files\MicroSoft Office\Office\Windows.exe
/m-switch prevents word from running AutoExec macros
/m macroname-Start word and then run specific macro

This discussion is closed to new replies.