Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6906443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:18:38+00:00 2026-05-27T08:18:38+00:00

I have some long processes that require notifications to the user at successive stages,

  • 0

I have some long processes that require notifications to the user at successive stages, so that he doesn’t get to believe Excel has crashed down.

How could I display asynchronous messages to the user in Excel, using VBA ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:18:38+00:00Added an answer on May 27, 2026 at 8:18 am

    You can use the status bar in Excel to do this:

    Application.StatusBar = "status message"
    

    Here is an example on how to implement this: http://www.vbaexpress.com/kb/getarticle.php?kb_id=87

    Below is the code from the site (added line break to make is easier to read):

    Sub StatusBar()
    
    Dim x As Integer
    Dim MyTimer As Double
    
    'Change this loop as needed.
    For x = 1 To 250
        'Dummy Loop here just to waste time.
        'Replace this loop with your actual code.
        MyTimer = Timer
        Do
            Loop While Timer - MyTimer < 0.03
            Application.StatusBar = _
            "Progress: " & x & " of 250: " & Format(x / 250, "Percent")
        DoEvents
    Next x
    
    Application.StatusBar = False
    
    End Sub
    

    UPDATE:
    I do want to add that updating the status bar will result in a sizable hit in performance (quite a bit actually), so you should only update it in approriate intervals. Here’s an example of what I mean (I use MOD here to ensure we only increment each 1000):

    Sub test()
    
    Dim i As Long
    Dim temp As String
    
    For i = 1 To 1000000
        temp = "testing 123, testing 123"
        If i Mod 1000 = 0 Then
            Application.StatusBar = "Processing " & i & "/1,000,000..."
        End If
    Next
    
    Application.StatusBar = "Ready"
    
    End Sub
    

    Also note that you want to reset the text to “Ready” otherwise it’ll be left as if it were in the loop.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone had this problem? My projects tend to have some long XML files
I have some queries made by GWT (2.4) RequestBuilder that might take a long
So long story short, i have some forms (2) of them that, need different
I have some long-running operations that number in the hundreds. At the moment they
I have some long-running CLI PHP scripts that run regularly via cron. I'd like
I have got Sinatra/Rails app and an action which starts some long process. Ordinary
I have some long running scripts with breaks requiring input/interaction to continue but when
I occasionally have some long running AJAX requests in my Wicket application. When this
I have some code to display a long list of languages inside Rails form
I have some projects for which I have ceased development a long time ago

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.