tomatdeepwater
Programmer
I am doing some VBA programming in MS-Word for the first time.
I followed someone's example on how to call the MS-Word FileDialog "SaveAs" object.
Here is my code:
PROBLEM:
I need to also control the "folder" it initially opens up in. This code doesn't do that ...
Any ideas?
I followed someone's example on how to call the MS-Word FileDialog "SaveAs" object.
Here is my code:
Code:
Dim dlgSaveAs As FileDialog
CurDir (str_Desired_FilePath)
Set dlgSaveAs = _
Application.FileDialog( _
FileDialogType:=msoFileDialogSaveAs)
With dlgSaveAs
.AllowMultiSelect = False
.InitialView = msoFileDialogViewDetails
.Title = "Where would you like to SAVE this FILE?"
.InitialFileName = Initial_File_Save_Name
.ButtonName = "SAVE"
.Show
End With ' dlgSaveAs
PROBLEM:
I need to also control the "folder" it initially opens up in. This code doesn't do that ...
Any ideas?