Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 309
Default Load Userform on Workbook_Open()??

When someone clicks on my macro enabled workbook I want
to immediately display a userform and I want the background
to empty of any sheets. I basically want the userform to act
almost like a "splash screen" which asks the user a question
and then it will load the appropriate sheets and etcc...

Is this even possible?

thanx

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 834
Default Load Userform on Workbook_Open()??

In the workbook in question, add

Private Sub Workbook_Open()
Application.Visible = False
UserForm1.Show
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


"Robert Crandal" wrote in message
...
When someone clicks on my macro enabled workbook I want
to immediately display a userform and I want the background
to empty of any sheets. I basically want the userform to act
almost like a "splash screen" which asks the user a question
and then it will load the appropriate sheets and etcc...

Is this even possible?

thanx



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
excel crash on workbook_open userform.show Spencer Hutton Excel Programming 2 March 20th 08 01:48 PM
VB Error 5 loading userform using Workbook_Open rjchristensen Excel Programming 1 October 16th 07 06:19 PM
Userform does not load Ozgur Pars[_2_] Excel Programming 1 April 13th 07 10:35 PM
LOAD userform JohnTheTemp Excel Programming 2 September 9th 05 12:45 AM
Load a Userform Nick Excel Programming 1 September 10th 03 03:24 PM


All times are GMT +1. The time now is 04:06 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"