LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default closing userforms

The order in the original looked fine to me. What is the advantage or
rightness of doing various lines of code prior to unloading userform1?

--
Regards,
Tom Ogilvy




"Bob Phillips" wrote in message
...
in essence yes, but get the order right

sub finnish ()

various lines of code

unload userfrom1

userfrom2.show

end sub


--
HTH

Bob Phillips

wrote in message
oups.com...
thanks so would having a button on userform 1 that calls a module that
first unloads form1 then opens form2 would be ok
ie.

Private Sub CommandButton6_Click()
Call finnish
End Sub


sub finnish ()

unload userfrom1

various lines of code


userfrom2.show

end sub







 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Closing workbooks w/o closing Excel Barb in MD Excel Discussion (Misc queries) 3 February 15th 10 06:42 PM
userforms [email protected] Excel Programming 1 January 11th 05 01:07 PM
Closing VB triggers closing Excel Minilek Excel Programming 2 August 6th 04 05:17 PM
Userforms nath Excel Programming 1 May 20th 04 04:53 PM
closing excel after closing a workbook CWalsh[_2_] Excel Programming 3 January 21st 04 03:33 PM


All times are GMT +1. The time now is 03:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"