Closing a form that isn't open :|

DarkAngel

Registered User.
Local time
Today, 06:24
Joined
Jul 3, 2007
Messages
21
I have a form that is open, and needs to be closed at certain point in certain macros. However, sometimes the form is already closed when the macro calls for it to be closed. Can I just do something to ignore the error message saying the form can't be found, or is there a way of putting a condition to only close it if it's actually open?
Cheers,
Paul
 
I think you would have to use VBA to do this.
 
In the best possible tradition of using duct tape to fixa problem, I just closed the form at the start of all the macro running, and just copied the data needed on the form to text boxes on the main menu (which remains static)

May be a botch job, but no-one's going to look at the workings of it until I'm long gone! :D
 

Users who are viewing this thread

Back
Top Bottom