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

  • SEARCH
  • Home
  • 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 3940222
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:23:32+00:00 2026-05-20T00:23:32+00:00

I have macros that are running on some workbooks and a status screen that

  • 0

I have macros that are running on some workbooks and a status screen that shows their progress so the user does not have to stare at a blank screen or the loading screen of Excel. Or so I though. The status page works, it will update as the macros run, but excel will not show any of it until after the macros finish running. How do I show my status screen?

status = "SheetName"

Private Sub Workbook_Open()
    'Make sure that the screen is active
    Sheets(status).Activate
    Sheets(status).Select
End Sub
  • 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-20T00:23:33+00:00Added an answer on May 20, 2026 at 12:23 am

    If the purpose of your status screen is simply to give some feedback while your macros are running, a quick and easy alternative is to use the Status Bar. Here’s a sample:

    Sub YourMacro()
        Dim StatusOld As Boolean, CalcOld As XlCalculation
    
        ' Capture Initial Settings
        StatusOld = Application.DisplayStatusBar
    
        '      Doing these will speed up your code
        CalcOld = Application.Calculation
        Application.Calculation = xlCalculationManual
        Application.ScreenUpdating = False
        Application.EnableEvents = False
    
        On Error GoTo EH
    
        ' Your code...
    
        ' Every so often while your code is running
        Application.StatusBar = "Something Useful..." 
    
        ' After all your code is done
    CleanUp:
        ' Put things back like they were
        Application.StatusBar = False
        Application.Calculation = CalcOld
        Application.DisplayStatusBar = StatusOld
        Application.ScreenUpdating = True
        Application.EnableEvents = True
    Exit Sub
    EH:
    
        ' Your error handler...
    
        GoTo CleanUp
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to export some macros that I have defined and be able
I have a macro that iterates through some rows, to update the colouring of
I am trying to have a macro that will do some formatting. I need
I have some constants defined in a header file that contain the max length
I have some code that needs Unicode strings for the most part, but I
I am stuck with a fairly complex Python module that does not return useful
I have created a macro that opens a excel workbook and performs some operations
I have a C file running on Linux. It prints some lines in red
I have a macro that passes the line number and file name to an
I have an umbraco macro that spits out the content of the page at

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.