atw: Re: VB command line to wipe macros fro a Word document





Okay more information.
The files concerned have macros embedded into them.
A filter is being written to convert HTML into the EBCDIC format.

The word files are going to be saved into HTML files and the problem being
experienced is that the macros appear to be causing crashes whenever the
save as HTML function is chosen.
The idea is to turn them off or preferably remove the macros from the word
files before the save as command is performed.
What I am thinking is to write (or better still, utilise existing) a bit of
code that does the process as follows:

Open the document.
Check for macros running or attached.
Purge the document of any macros.
Save as an HTML file.

Preferably performed by calling a batch file...

The HTML filter (and only looking at the <body> </body> part of an HTML
file) is being written to strip everything out except basic formatting,
keeping only:
Text.
Headings.
Basic tab paragraphs.
Numbered steps.
Lists.

This is a huge legacy system the documentation is being prepared for.
Literally hundreds (maybe 1000's) of files are to be converted, from all
over the world and created in most forms of language by a wide range of
people.

**************************************************
To post a message to austechwriter, send the message to 
austechwriter@xxxxxxxxxxxxxx

To subscribe to austechwriter, send a message to 
austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field.

To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with 
"unsubscribe" in the Subject field.

To search the austechwriter archives, go to 
www.freelists.org/archives/austechwriter

To contact the list administrator, send a message to 
austechwriter-admins@xxxxxxxxxxxxx
**************************************************

Other related posts: