+ Reply to Thread
Results 1 to 3 of 3

VBA Splash Screen As Macro Runs

  1. #1
    Forum Contributor
    Join Date
    05-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    682

    VBA Splash Screen As Macro Runs

    Hi, I wonder whether someone may be able to help me please.

    I'm trying to put together a 'Splash Screen' which is visible to the user as a rather long macro runs.

    I've done quite a bit of research and found a suitable example here: http://www.vb-helper.com/howto_excel_show_splash.html.

    I've created a general module and inserted the following code:

    Please Login or Register  to view this content.
    Then inserted the following code to the user form:

    Please Login or Register  to view this content.
    I've run the user form in isolation and this works as expected, but I'm having a little difficulty in getting this to run whilst my macro runs.

    The code below is the macro which I'm wanting to run whilst the form is visible, then once finished allow the form to fade out:

    Please Login or Register  to view this content.
    I've been trying to get this to work for a few days now, sadly without any success, so I just wondered whether someone could possibly look at this please and offer some guidance on how I may integrate the two.

    Many thanks and kind regards

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: VBA Splash Screen As Macro Runs

    If you wish to show progress meter, you must have a way of determining percentage completion for main routine. I do not see accurate possibility for the code you have now but you may apply same percentage to each task. Code will be like:
    Userform:
    Please Login or Register  to view this content.
    Module:
    Please Login or Register  to view this content.
    I have not tested.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Forum Contributor
    Join Date
    05-26-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    682

    Re: VBA Splash Screen As Macro Runs

    Hi @Izandol, thank you very much for taking the time to reply to my post and for putting the solution together, I really appreciate it.

    The form works fine as does the progress bar. The only item which I can't display is the label which tells the user what is happening which seems a little strange, but I'm sure I'll be able to work it out.

    All the best and kind regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 01-23-2014, 07:05 AM
  2. Splash screen for macro security settings
    By mcinnes01 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2010, 07:09 AM
  3. Splash Screen While Macro Runs?
    By Tyler_Durden in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-28-2009, 09:39 AM
  4. Turning off screen update while macro runs
    By dancingflames in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-04-2005, 06:50 PM
  5. splash screen macro problem
    By PKyle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2005, 12:06 PM

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