Word VBA >> How to remove AutoOpen macro

by Aline » Fri, 30 Jul 2004 01:50:34 GMT

Hi!
Using VBA I try to develop a procedure that will loop a
folder and will remove the AutoOpen macro from every file.
Due to an error in a template every file built from that
template contains the macro.

Thank for any help!
Aline




Word VBA >> How to remove AutoOpen macro

by Jonathan West » Fri, 30 Jul 2004 06:41:43 GMT






Are you sure that each document contains the macro? If the template is
available, then whenever a document based on the template is opened, the
AutoOpen mano in the template will run.

Try just deleting the AutoOpen macro in the template, and see if that cures
the problem.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup




Similar Threads

1. AutoOpen macros in Word

I keep getting a message telling me that I should open the document with 
macros enabled - haven't a clue - any ideas out there?

Best wishes - Maureen White, UK

2. getting script to paste text into Word AND to trigger AutoOpen macro

3. AutoOpen Macro

4. AutoOpen Macros - Word Document management

5. OleObjects and AutoOpen-macro in Word

Hi,
when opening Word-OleObjects the Autoopen macro is not played. The same for 
AutoNew when creating new ones. Is there any possibility to force the 
executing of these Auto-macros also when working with OleObject?
best regards
Anton Santa 


6. Closing a template from the autoOpen macro

7. Autoopen Macro

Way back in the days of Word 6 I had a macro to move the cursor to the
point at which I was last working, Goback I think was the command, but
I'm not sure. What is the VBA equivalent?

Thanks

David

8. Adding List Style to AutoOpen macro? - MS Word&VBA