Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Exel VBA- userform startup problem

I would like to have my userform in Exel 2002 startup on top of th
Excel worksheet (like a splash screen) before the worksheet loads.
What code do I use to make this happen and where would the code go?

Thank you

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Exel VBA- userform startup problem

I think you will get a flash of the worksheet/workbook regardless of what
you do, but you can make the application.Visible = False while you show the
userform.

--
Regards,
Tom Ogilvy

"officemanager " wrote in
message ...
I would like to have my userform in Exel 2002 startup on top of the
Excel worksheet (like a splash screen) before the worksheet loads.
What code do I use to make this happen and where would the code go?

Thank you.


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Exel VBA- userform startup problem

When you open up your VBA editor, view the code for 'ThisWorkbook' an
enter the following:

Private Sub Workbook_Open()
Application.Visible = False 'Hides Excel
UserForm1.Show 'Shows your form
Application.Visible = True 'Shows Excel once form closes
End Su
Code
-------------------
Private Sub Workbook_Open(
-------------------


--
Message posted from http://www.ExcelForum.com

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
Need help with Excel Startup problem Sandy Excel Discussion (Misc queries) 6 April 13th 06 08:02 PM
Excel Startup Problem The Gallaghers Setting up and Configuration of Excel 0 March 14th 06 03:39 PM
Startup Problem Henrywaz Excel Discussion (Misc queries) 4 November 12th 05 06:16 AM
Excel Startup Problem Nigel Barraclough Setting up and Configuration of Excel 4 December 4th 04 09:58 AM
startup macro problem scott Excel Programming 1 May 24th 04 03:17 PM


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