No save for Word Document

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I exit a Word Document with out saving it, after a Mail merge for
Access Table.
Below is the VB Code used to open the merge document is Word. How can
modify this code for a "No Save."

WordDoc.SaveAs FileName:=strSaveDir & strNewName, _
FileFormat:=0, _
LockComments:=False, Password:="", AddToRecentFiles:=False,
WritePassword:="", _
ReadOnlyRecommended:=True, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False,
SaveAsAOCELetter:=False
 
WordDoc.Close SaveChanges:=wdDoNotSaveChanges

How can I exit a Word Document with out saving it, after a Mail merge for
Access Table.
Below is the VB Code used to open the merge document is Word. How can
modify this code for a "No Save."

WordDoc.SaveAs FileName:=strSaveDir & strNewName, _
FileFormat:=0, _
LockComments:=False, Password:="", AddToRecentFiles:=False,
WritePassword:="", _
ReadOnlyRecommended:=True, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False,
SaveAsAOCELetter:=False

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
Back
Top