P
Paul
Hoping some kind person can help out...
I have a protected form to gather information. I have various VBA
routines in place to do validity checking and also to export the data
gathered to a text file. This all works fine. The final task is to
save the document/form and then close it.
I cannot find any way of accomplishing the close from VBA. I get a
Command Failed message box when using ActiveDocument.Close
Application.Quit works but is not ideal as the form user may have
other documents open at the same time.
Any ideas?
Paul
PS Using Word 2000 but needs to run on Word 97 and upwards.
I have a protected form to gather information. I have various VBA
routines in place to do validity checking and also to export the data
gathered to a text file. This all works fine. The final task is to
save the document/form and then close it.
I cannot find any way of accomplishing the close from VBA. I get a
Command Failed message box when using ActiveDocument.Close
Application.Quit works but is not ideal as the form user may have
other documents open at the same time.
Any ideas?
Paul
PS Using Word 2000 but needs to run on Word 97 and upwards.