A
Andrew Duncan
Hi,
I've been working on the following macro:
Sub AutoOpen()
Dim doc as Word.Document
Set doc = ActiveDocument
doc.MailMerge.Execute
doc.Close wdDoNotSaveChanges
End Sub
This peforms a mail merge when the document is opened to
a new document and closes the original. This happens to
all documents now and I cannot edit the original
document. Does anyone know how to turn this off
temporarily so I can make changes to the original
document?
Many thanks,
Andrew
I've been working on the following macro:
Sub AutoOpen()
Dim doc as Word.Document
Set doc = ActiveDocument
doc.MailMerge.Execute
doc.Close wdDoNotSaveChanges
End Sub
This peforms a mail merge when the document is opened to
a new document and closes the original. This happens to
all documents now and I cannot edit the original
document. Does anyone know how to turn this off
temporarily so I can make changes to the original
document?
Many thanks,
Andrew