A
Anne Schouten
How can I change the default file format to .docm in Word 2007?
I made a template with macros. When the user saves the file the first time,
by default, it will be saved as .docx. If the user forgets to change the
file format to .docm the macros cannot be used anymore.
However the user must still be able to save the file as Word 97-2003 (.doc)
and choose the filename and location.
I tried to give the file a name the user can change, but has the right
extension:
With Dialogs(wdDialogFileSaveAs)
.Name = "test.docm"
.Show
End With
but still the extension is .dotx instead of .dotm
Moreover I do not know how to trigger the macro as there is no
Document_SaveAs event.
Who can help me?
Thanks, Anne
I made a template with macros. When the user saves the file the first time,
by default, it will be saved as .docx. If the user forgets to change the
file format to .docm the macros cannot be used anymore.
However the user must still be able to save the file as Word 97-2003 (.doc)
and choose the filename and location.
I tried to give the file a name the user can change, but has the right
extension:
With Dialogs(wdDialogFileSaveAs)
.Name = "test.docm"
.Show
End With
but still the extension is .dotx instead of .dotm
Moreover I do not know how to trigger the macro as there is no
Document_SaveAs event.
Who can help me?
Thanks, Anne