SaveAs macro to set file format - possible?


W

WesE

Hello,

I am trying to find out if we can use a macro in Word 07 to save files
generated from Word 03 templates in Word doc format. Basically we want the
Word 07 default save format to be docx but want new files generated from dot
templates to save in doc format.

We have a legacy application with about 900 template letters. Comaptibitly
mode is working great at displaying the letters correctly, the problem we
have is when Word is closed the application saves the file back in the DB in
docx format. This format cause problems with other components of the
applcation. The only fix I can see is to change the Word option: default Save
format to doc, but this has other ramifications to the business.

Suggestions?
 
Ad

Advertisements

D

Doug Robbins - Word MVP

Use a macro in the template that intercept the Save As command
(FileSaveAs() ) that asks the user for the filename and uses
FileFormat:=wdFormatDocument

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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