G
Guest
I am writing a macro for a customer and am tryingto use th
AddToRecentFiles:=False parameter to my Doucmnet open statement, and stil
the document shows up in the recent used list. The code is ..
Word.Application.Documents.Open strFilename, , , Fals
I have also trie
Set TheDoc = Word.Application.Documents.Open(Filename:=strFilename
AddToRecentFiles:=False
Niether method seems to work. The rest of the code makes some changes in th
docuemnt and then executes a close comman
' Open the Template as a templat
Set TheDoc
Word.Application.Documents.Open(Filename:=strFilename
AddToRecentFiles:=False
' Set our variable
SetOptions TheDo
' Save the file in its original file format of templat
TheDoc.Close SaveChanges:=wdSaveChanges
OriginalFormat:=wdOriginalDocumentForma
Thanks for your hel
AddToRecentFiles:=False parameter to my Doucmnet open statement, and stil
the document shows up in the recent used list. The code is ..
Word.Application.Documents.Open strFilename, , , Fals
I have also trie
Set TheDoc = Word.Application.Documents.Open(Filename:=strFilename
AddToRecentFiles:=False
Niether method seems to work. The rest of the code makes some changes in th
docuemnt and then executes a close comman
' Open the Template as a templat
Set TheDoc
Word.Application.Documents.Open(Filename:=strFilename
AddToRecentFiles:=False
' Set our variable
SetOptions TheDo
' Save the file in its original file format of templat
TheDoc.Close SaveChanges:=wdSaveChanges
OriginalFormat:=wdOriginalDocumentForma
Thanks for your hel