S
Senad Isanovic
When I save the document (File/Save As), I'd like Word to suggest the
filename "nyfilename.doc" of the document in the save as dialogbox. How can
this be done? I know how to do this from the subroutine, but not from Word
File menu, Save AS..?
Sub SaveAsSub()
Dim oDlg As Dialog
Dim sPth As String
sPth = Options.DefaultFilePath(wdDocumentsPath) & "\"
Set oDlg = Dialogs(wdDialogFileSaveAs)
oDlg.Name = sPth & "myfilename.doc"
oDlg.Show
End Sub
filename "nyfilename.doc" of the document in the save as dialogbox. How can
this be done? I know how to do this from the subroutine, but not from Word
File menu, Save AS..?
Sub SaveAsSub()
Dim oDlg As Dialog
Dim sPth As String
sPth = Options.DefaultFilePath(wdDocumentsPath) & "\"
Set oDlg = Dialogs(wdDialogFileSaveAs)
oDlg.Name = sPth & "myfilename.doc"
oDlg.Show
End Sub