Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX control in Word macro-enabled template in trusted location

Status
Not open for further replies.

gbrenkman

Programmer
Dec 10, 2010
1
0
0
US
I have a very simple Word 2007 macro-enabled template that has a single ActiveX checkbox control and a simple one-line Document_New macro. When this .dotm file is stored in a network file that has been setup in Word 2007 to be a trusted location, Word always aborts when creating a new file based on this template. If the ActiveX control is removed, or the macro code is removed, or the file is placed in a non-trusted location (and you select the option to enable macros when you get the security banner warning), it functions just fine. It's just the combination of ActiveX, macro code in a trusted location that causes the crash. I can e-mail the file for those that want to check it out.

Anyone got any ideas how to correct this strange one?

BTW, I have Office 2007 SP2.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top