G
Greg Mce
I have a form created in Word ' 97 that updates numerous
fields when the user presses an update button. At the end
of the updates a message box asks if the user wants to
save the form and if they do then are asked if they want
to save it with a new name. If yes then the File Save as
dialog box is called using this code.
x = Dialogs(wdDialogFileSaveAs).Show
My question/problem is that if the user selects the same
file name as an existing one at this point absolutely
nothing happens. I would have thought the "File Name
already Exists" message box would appear. If a diferent
file name is entered it saves without a problem.
I have tried removing the Application.DisplayAlerts =
wdAlertsNone code, setting it to "wdAlertsAll" but all to
no avail. I want the "file name already exists" message
box to appear. Your help will be most appreciated
Greg Mc
fields when the user presses an update button. At the end
of the updates a message box asks if the user wants to
save the form and if they do then are asked if they want
to save it with a new name. If yes then the File Save as
dialog box is called using this code.
x = Dialogs(wdDialogFileSaveAs).Show
My question/problem is that if the user selects the same
file name as an existing one at this point absolutely
nothing happens. I would have thought the "File Name
already Exists" message box would appear. If a diferent
file name is entered it saves without a problem.
I have tried removing the Application.DisplayAlerts =
wdAlertsNone code, setting it to "wdAlertsAll" but all to
no avail. I want the "file name already exists" message
box to appear. Your help will be most appreciated
Greg Mc