D
Debi
I'm using Office 2000, Win98.
I've developed a UserForm and trying write the code to
save it before it closes. The code I've written is:
ActiveDocument.SaveAs ("C:\WINDOWS\Desktop\Debi & ' " &
strLastSave & " " & strFirstSave & " " & strDateSave
& " ' "), wdFormatDocument
I've double checked this Path several times but I keep
getting this error message:
"Run-time error 5152
"This is not a valid File name
Try one or more of the following:
*Check the path to make sure it is typed correctly.
*Select a File from the list of Files and Folders."
I've copied and pasted the path from Window's Explorer, so
I know the path is correct.
I can do this in Visual Basic 6.0 and I know that VBA is
not quite like VB6.0, but could someone help me code a
SaveAs?
I greatly appreciate the time and effort put into any help
you give.
Debi
I've developed a UserForm and trying write the code to
save it before it closes. The code I've written is:
ActiveDocument.SaveAs ("C:\WINDOWS\Desktop\Debi & ' " &
strLastSave & " " & strFirstSave & " " & strDateSave
& " ' "), wdFormatDocument
I've double checked this Path several times but I keep
getting this error message:
"Run-time error 5152
"This is not a valid File name
Try one or more of the following:
*Check the path to make sure it is typed correctly.
*Select a File from the list of Files and Folders."
I've copied and pasted the path from Window's Explorer, so
I know the path is correct.
I can do this in Visual Basic 6.0 and I know that VBA is
not quite like VB6.0, but could someone help me code a
SaveAs?
I greatly appreciate the time and effort put into any help
you give.
Debi