Auto-save .doc copy of .docx

A

akedm

Is there a way or a third-party method to automatically save a backup copy of
docx files as doc files? Sometimes I work on a differnt system without word
2007 and woudl like to be able to access these files, but I do not want to
set the default filetype for 2007 as .doc

Thanks.
 
G

Graham Mayor

The following macro will save the current document as DOCX and DOC with the
same name in front of the extension in the same folder when you click Save

Sub FileSave()
Dim strDocName As String
Dim strNewName As String
With ActiveDocument
.Save
strDocName = .FullName
intPos = InStrRev(strDocName, ".")
strNewName = Left(strDocName, intPos - 1)
strNewName = strNewName & ".doc"
.SaveAs FileName:=strNewName, _
FileFormat:=wdFormatDocument97
.Close wdDoNotSaveChanges
End With
Documents.Open strDocName
End Sub
http://www.gmayor.com/installing_macro.htm

Alternatively name it something else eg Sub MySave() and add it to a QAT
button then click that when you want a DOC copy.
Note it *requires* that the default save is DOCX.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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