I have a main form that I use as the switchboard form. It helps me navigate through various other forms (around 3-4) I have in my application. I want to include an OnClose procedure in VBA code that will prevent me from closing the main form until all other forms are closed. I want the Main Switchboard form to include a cmd button that ask: "Do you want to exit? Y/N". After the user selects Y, it runs it check against any open forms and asks the user to close them before proceeding. ANy one have any ideas?
Thanks.
Thanks.