
Ignore pre-existing macros ?
I thought that AutomationSecurity prevented/enabled ALL macros, not just the
Auto* macros?
--
http://www.standards.com/; Programming and support for Word macros,
including converting from WordBasic to VBA; Technical reviewing; Standards;
Product functional/design/specifications
------------------------------------------------
Quote:
> Hi Dan
> Take a look at this article
> Useful WordBasic commands that have no VBA equivalent
> http://www.mvps.org/word/FAQs/MacrosVBA/WordBasicCommands.htm
> Scroll down to the section on DisableAutoMacros.
> If you are using Word 2002, you can do the same thing by means of the
> AutomationSecurity property. There is a code example in the Word VBA help
> file.
> --
> Regards
> Jonathan West - Word MVP
> MultiLinker - Automated generation of hyperlinks in Word
> Conversion to PDF & HTML
> http://www.multilinker.com
> Word FAQs at http://www.multilinker.com/wordfaq
> Please post any follow-up in the newsgroup. I do not reply to Word
questions
> by email
> > Macro question,
> > I am creating a macro to update templates. However,
> > some of the existing templates already have macros upon
> > opening the files.
> > What code can I use to ignore the automatic macros
> > that appear when the document is opened. I would rather
> > have the program bypass these instead of me having to
> > manually exit the forms that pop up on start up.
> > I appreciate any advice anyone can offer me.
> > Dan