R
rburghardt
The following code will not default the Save As dialog box to the C:\
directory. The "fred.doc" filename appears correctly, but the
directory is not correct.
With Dialogs(wdDialogFileSaveAs)
.Name = "C:\fred.doc"
.Format = wdFormatDocument
.Show
End With
Interestingly, if I use .Name = "C:\" and leave off the file name, the
directory in the Save As dialog box is correct. The problem only
occurs when both the file name and directory are used in the .Name
property.
Am I doing something wrong? Using Word 2003 SP2.
Thanx in advance!
directory. The "fred.doc" filename appears correctly, but the
directory is not correct.
With Dialogs(wdDialogFileSaveAs)
.Name = "C:\fred.doc"
.Format = wdFormatDocument
.Show
End With
Interestingly, if I use .Name = "C:\" and leave off the file name, the
directory in the Save As dialog box is correct. The problem only
occurs when both the file name and directory are used in the .Name
property.
Am I doing something wrong? Using Word 2003 SP2.
Thanx in advance!