Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Delete/Manipulate AutoOpen in ThisDocument from code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mstewart14 - 20 Dec 2004 17:55 GMT
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.
Word Heretic - 21 Dec 2004 23:25 GMT
G'day "mstewart14" <mstewart@interlog.com>,

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:

>I have the unhappy experience of inheriting a badly written set of
>macros, one of which was embedded in several hundred word documents in
[quoted text clipped - 6 lines]
>If not I guess I'm stuck saving everything out as an RTF and back to a
>Doc file to make this work.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.