PC Review


Reply
Thread Tools Rate Thread

Cant Unload Userform!!!

 
 
New Member
Join Date: Jun 2011
Posts: 1
 
      23rd Jun 2011
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..
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unload a UserForm Patrick C. Simonds Microsoft Excel Programming 5 14th Aug 2008 06:40 PM
unload userform shiro Microsoft Excel Programming 1 29th Jun 2008 06:05 AM
Unload a Userform created in VB6 avi Microsoft Excel Programming 4 20th Apr 2007 01:49 PM
unload userform problem leonidas Microsoft Excel Programming 3 5th Jul 2006 05:35 PM
Re: load/unload userform Fred Microsoft Excel Programming 0 22nd Aug 2005 04:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:00 PM.