I have a document I need users to fill in using a custom form. When they
click the Save button on the form the SaveAs dialog box appears. What I
need/would like is to verify the user changes the name of the document (so
they don't overwrite the original).

I can do this with a simple InputBox and SaveAs command, but can't figure
out how to let the user choose the folder they want.

Any help would be appreciated.

Thanks

Re: SaveAs Dialog and filename verification by Dave

Dave
Wed May 25 12:11:31 CDT 2005

Hi,

The Save button on the form is basically our answer. Instead of using the
.Show method, try the .Display method.

With Dialogs(wdDialogFileSaveAs)
If .Display Then
' user navigates to desired folder and names the document
' do your verification
' SaveAs Command based on verification
End If
End With

HTH,
Dave


"Vince Stitt" <VinceStitt@discussions.microsoft.com> wrote in message
news:3AB7B2E3-6C4A-4453-B791-37F8D7D76502@microsoft.com...
> I have a document I need users to fill in using a custom form. When they
> click the Save button on the form the SaveAs dialog box appears. What I
> need/would like is to verify the user changes the name of the document (so
> they don't overwrite the original).
>
> I can do this with a simple InputBox and SaveAs command, but can't figure
> out how to let the user choose the folder they want.
>
> Any help would be appreciated.
>
> Thanks