ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Load Userform on Workbook_Open()?? (https://www.excelbanter.com/excel-programming/437395-load-userform-workbook_open.html)

Robert Crandal

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


Bob Phillips[_4_]

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





All times are GMT +1. The time now is 09:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com