Hi All
Firstly I am a complete beginner when it comes to VBA!
I have found the code below to save a word document as a PDF that opens the save dialog box, automatically gives the filename and set to save as PDF is it possible to add a code to automatically specifiy the save folder location using the dialog box method? I need to use the dialog box method so that the person saving it can check the date is correct as they may sometimes save the file a day late and need to manually change the date hope this makes sense?
Sub SaveMe()
Msg = "Before saving ensure the correct date is entered In the Header?"
Ans = MsgBox(Msg, vbYesNo + vbQuestion)
If Ans = vbNo Then Exit Sub
With Dialogs(wdDialogFileSaveAs)
.Name = "Minutes_" & Format(Now(), "DD-MM-YY") & ".PDF"
.Format = wdFormatPDF
.Show
End With
End Sub
Thanks
Stuart
Bookmarks