Cant Unload Userform!!!

Joined
Jun 23, 2011
Messages
1
Reaction score
0
Look, Im new to VBA... I have a loop of UserForms set up to where the loop starts at 1 goes through 7, and 7 goes back to two.. what i understand is that i have to unload the forms as i progress but i cant. my code on my Commandbutton in UserForm1 is as follows

Private Sub CommandButton1_Click()
UserForm2.Show
Unload UserForm1
End Sub

Ive been at it all day.. no luck.. any help is very appreciated.. keep in mind im very new at this..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top