Delete/Manipulate AutoOpen in ThisDocument from code

M

mstewart14

I have the unhappy experience of inheriting a badly written set of
macros, one of which was embedded in several hundred word documents in
the ThisDocument module.

The Macro is Document_Open... is there a way to have a vb script rip
through all the documents and strip or empty that macro without losing
things like comments and editing histories?

If not I guess I'm stuck saving everything out as an RTF and back to a
Doc file to make this work.
 
W

Word Heretic

G'day "mstewart14" <[email protected]>,

There is a batch file program on the word.mvps.org site. This could be
used as the start to a macro that then looks at the
vbproject.vbcomponents and rips out the appropriate lines.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


mstewart14 reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top