PDA

View Full Version : [SOLVED:] VBA Userform Issue



harber95
07-19-2015, 02:09 PM
I created two userforms, and I want to create a button that will close the current userform that is on and move me to the next one.
Thanks. please ask for more info in case you don't have enough details (I'm a beginner)

Paul_Hossler
07-19-2015, 03:24 PM
Here's a simple example

There's code 'behind' the user from (only for the Command Button in this example)

Double click on the Userform WITHIN THE EDITOR, not when the macro is running to see

harber95
07-19-2015, 08:25 PM
I did manage to move to the next userform. but I wanted the second userform to have the option of returning to the first userform.
I tried to use unload Me and unload userform1 but it didn't work (moved me to vba).
Thanks again

jolivanes
07-19-2015, 09:38 PM
Like this?

Paul_Hossler
07-20-2015, 06:18 AM
or this?