B
Barth Wilsey
After the user opens a Word 2000 template and completes a form, they press a
command button. The Button_Click subroutine converts the information on the
form's text boxes into the name of the document. I would like to have the
save as dialog box that opens preferentially open to the file where the
template resides. Can you please tell me how to do this.
Here is my present code.
'save this file
With Dialogs(wdDialogFileSaveAs)
.Name = Me.txtLastName.Text & ", " & Me.txtFirstName.Text & " " &
Me.txtMedRec & " " & Format(Date, "mmm d yyyy")
.Show
End With
command button. The Button_Click subroutine converts the information on the
form's text boxes into the name of the document. I would like to have the
save as dialog box that opens preferentially open to the file where the
template resides. Can you please tell me how to do this.
Here is my present code.
'save this file
With Dialogs(wdDialogFileSaveAs)
.Name = Me.txtLastName.Text & ", " & Me.txtFirstName.Text & " " &
Me.txtMedRec & " " & Format(Date, "mmm d yyyy")
.Show
End With