+ Reply to Thread
Results 1 to 7 of 7

Splash Screen opens after document

  1. #1
    Registered User
    Join Date
    08-18-2007
    Posts
    62

    Splash Screen opens after document

    I have a Excel document that may take as much as 8 seconds to open in our company old hardware, I made a Splash screen to open when the workbook open, but it does it after the workbook opens. How can I make the Splash screen to open first and then the workbook so the intended recipients can be distracted while the workbook opens. I would like the workbook to open in a small size window behind the Splash screen while the workbook open, so the only object visible will be the splash screen until the workbook opens and then will open to a determinate window size (don’t want to open all the way until the user clicks the first object on the Main sheet). Also what is the best code for slow fade out.

  2. #2
    Registered User
    Join Date
    08-19-2007
    Posts
    40

    Splash Screen opens after document

    Hello JIBG

    When you open your excel workbook, you cannot stop Microsoft Excel from showing as you need to get the user to confirm whether they want to Enable Macros or not.

    I would probably suggest, under the WorkBook_Open() event to make excel hidden using the application.visible property and setting it to false. Don't forget to turn it back on once your splash form has finished or whenever an error has occurred.

    Regarding fadeout, check out the following code example:


    Hope this helps you out.

    Cheers,
    Kind Regards,

    Steven Daniel
    ONTRACK SOFTWARE & TECHNOLOGY SOLUTIONS
    http://www.ontrack-software.com.au/

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    If it's tking up to 8 seconds to open, a Splash screen can only slow it further!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    08-18-2007
    Posts
    62

    Thanks Guys

    Steven, Roy
    Thanks for your suggestions; Roy I can not see the code, and I will try you tip on hidden the workbook until the splash screen closes. Roy I will keep the Splash Screen as simple as possible. Any ideas beside the old hardware why a workbook may take that long to open? Any setting, macros, etc that can cause the workbook to open this slowly?

  5. #5
    Registered User
    Join Date
    08-19-2007
    Posts
    40

    Splash Screen opens after document

    Hi JIBG

    Sorry. I forgot to include the hyperlink containing the code for the Fade-In-Fade Out code for the userform splash screen.

    Here it is below.

    http://www.xcelfiles.com/SplashScrn.html

  6. #6
    Registered User
    Join Date
    08-18-2007
    Posts
    62

    Great Splash Screen code (API's)

    That is exactly what I wanted, thanks Steve!

  7. #7
    Registered User
    Join Date
    08-19-2007
    Posts
    40

    Splash Screen opens after document

    Hi JIBG

    Great! Thanks for the feedback. I am glad that it has fulfilled what you were looking for.

    Cheers.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1