+ Reply to Thread
Results 1 to 4 of 4

Showing UserForm to Indicate Progress, Macro Doesn't Run Until I Exit UserForm

  1. #1
    Forum Contributor
    Join Date
    02-04-2014
    Location
    Florida, United States
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    366

    Showing UserForm to Indicate Progress, Macro Doesn't Run Until I Exit UserForm

    Hello,

    I am using a UserForm with 1 Label to show what step is being processed. However, the macro doesn't run until I exit the UserForm! How do I get a Macro to run automatically, while the UserForm is being displayed?

    Please Login or Register  to view this content.
    Thank You,

    EnigmaMatter

  2. #2
    Forum Contributor
    Join Date
    05-29-2013
    Location
    MD
    MS-Off Ver
    Excel 365
    Posts
    148

    Re: Showing UserForm to Indicate Progress, Macro Doesn't Run Until I Exit UserForm

    Hi EnigmaMatter,

    I haven't tested this method, but is it possible to call the HighlightReceived from the Userform_Initialize event?

    Thanks,
    Duncan

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Showing UserForm to Indicate Progress, Macro Doesn't Run Until I Exit UserForm

    Try this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Forum Contributor
    Join Date
    02-04-2014
    Location
    Florida, United States
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    366

    Re: Showing UserForm to Indicate Progress, Macro Doesn't Run Until I Exit UserForm

    Worked wonderfully. Sorry for the delay.

+ 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. Texbox exit event prevents userform exit
    By smjjvh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2014, 05:47 AM
  2. Exit Userform to return to main code, but keep userform open
    By jombler74 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-04-2014, 04:01 AM
  3. Replies: 1
    Last Post: 08-06-2014, 10:29 PM
  4. showing the userform again when userform hasn't been hidden or unloaded
    By stanigator in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-10-2007, 09:33 PM
  5. [SOLVED] Looping procedure calls userform; how to exit loop (via userform button)?
    By KR in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2005, 08:05 AM

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