![]() |
|
#1
|
|||
|
|||
|
Cannot seem to set the path for Word 2016 SaveAs screen. The statement
Code:
MsgBox Options.DefaultFilePath(wdDocumentsPath) But, after executing Code:
'source: based on https://wordmvp.com/FAQs/MacrosVBA/SetDefFilename.htm
'change properties
Dim dtToday As Date
dtToday = Date
If Documents.Count > 0 Then
Set dlgProp = Dialogs(wdDialogFileSummaryInfo)
' Establish title
dlgProp.Title = "Waiver_" & dtToday & ".docx"
' Set the values
dlgProp.Execute
' Show the dialog for testing purposes
dlgProp.Show
End If
And with the bogus message Quote:
The keywords I use in this forum's search bring up how to change file names, but not directories. I guess this ability qualifies merely as a "nice to have". But it really would be a nice-to-have. |
| Tags |
| path, save as docx, vba code |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Temporary work file | reglilly | Word | 4 | 05-15-2018 12:13 PM |
| How to delete a temporary ~$ Word file? | Belloc | Word | 3 | 08-16-2017 06:24 AM |
Change word temporary location
|
mkhorrami | Word | 1 | 01-11-2016 04:09 AM |
| Where does Word 2010 save temporary files? | JonahSnow | Word | 1 | 06-03-2015 12:31 AM |
VBS saveas API behaviour is different from Menu saveas
|
Ahmed AbuZekry | Word VBA | 2 | 03-23-2015 02:14 AM |