Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Two Userforms

Hi, I hope all are well,
I am developing a workbook that opens with a small 'splash screen'
containing version number and contact details. When that Userform closes I
want to open a new Userform containing some Command Tools, e.g. comboboxes.

Is it possible to have two userforms open in this manner and if so can
anyone post sample code?

Mickey


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Two Userforms

Private Sub workbook_Open()
Userform1.Show
Userform2.Show
End Sub



--
Regards,
Tom Ogilvy

"MBlake" wrote in message
...
Hi, I hope all are well,
I am developing a workbook that opens with a small 'splash screen'
containing version number and contact details. When that Userform closes

I
want to open a new Userform containing some Command Tools, e.g.

comboboxes.

Is it possible to have two userforms open in this manner and if so can
anyone post sample code?

Mickey




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Two Userforms

Cheers Tom,
I hadn't realised it would be so obvious. I appreciate your help,

Mickey


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Two Userforms

As long as the first is shown modally (which is the default and it should
be), the second show command won't execute until the first form is unloaded
or hidden.

--
Regards,
Tom Ogilvy

"MBlake" wrote in message
...
Cheers Tom,
I hadn't realised it would be so obvious. I appreciate your help,

Mickey




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Two Userforms

Thanks Tom,
I have just tried it out and it works a treat. I thought 2 userforms would
be overkill but it works well and will suit the audience it is aimed at.

Mickey


Reply
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
Help with Userforms Panagiotis Marantos Excel Discussion (Misc queries) 2 July 25th 06 04:26 PM
I need some help with userforms T.c.Goosen1977 Charts and Charting in Excel 0 June 30th 06 09:29 AM
userforms [email protected] Excel Programming 1 February 28th 05 05:29 PM
userforms [email protected] Excel Programming 0 February 16th 05 06:48 PM
Userforms..... Candee[_8_] Excel Programming 1 November 27th 03 06:02 PM


All times are GMT +1. The time now is 04:18 PM.

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

About Us

"It's about Microsoft Excel"