I have two forms in ActiveX:
(1) MainForm
(2) UserForm2
When the program initiates, MainForm is the first thing the user sees. If they click a particular button, then UserForm2 appears.
In UserForm2 I have a textbox and two buttons ("Cancel", "Add Vendor"). I want to make it such that if the user presses "Cancel", UserForm2 will disappear and guide them back to MainForm exactly how they left it.
My problem is that
will exit BOTH forms, I need it to only exit out of UserForm2. I've also tried Unload UserForm2 but received an error.
Any Suggestions?
Bookmarks