A particular Word document is received by email every day. I open the document, print it and then want to save it in a particular folder.
I have the following code which saves the document with today's date:
This works fine as long as the date to which the document refers is the the same as the day on which I save it. However, if the document is received over the weekend and I save it on Monday, it is saved with the wrong date. I then have to go back into the folder and change the date.
What I really want to do is to open the "Save As" dialog box with the Save In box showing the folder in which the document is to be saved i.e "N:\Access\Houston Updates\Current Month" I can then give the saved document the correct date.
I have investigated "Dialogs(wdDialogFileSaveAs).Show" but I cannot find a way of specifying the folder that is opened.
Any advice would be much appreciated.
John
I have the following code which saves the document with today's date:
Code:
strDest = "N:\Access\Houston Updates\Current Month\" & Format(Date, "DD MMM") & ".doc"
ActiveDocument.SaveAs FileName:=strDest, FileFormat:= _
wdFormatDocument, LockComments:=False, Password:="", AddToRecentFiles:= _
True, WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:= _
False, SaveNativePictureFormat:=False, SaveFormsData:=False, _
SaveAsAOCELetter:=False
What I really want to do is to open the "Save As" dialog box with the Save In box showing the folder in which the document is to be saved i.e "N:\Access\Houston Updates\Current Month" I can then give the saved document the correct date.
I have investigated "Dialogs(wdDialogFileSaveAs).Show" but I cannot find a way of specifying the folder that is opened.
Any advice would be much appreciated.
John