The Ultimate Workbook Pack Is Finally Here — My Biggest Workbook Collection Ever!

550+ Excel Templates, Applications & VBA Trainings — Now with the NEW Workbook Library App.

The Ultimate Workbook Pack Is Finally Here — My Biggest Workbook Collection Ever!

The Excel Productivity Suite ribbon tab inside Microsoft Excel

New Product8 Tools · 1 Ribbon Tab

The Excel Productivity Suite is here.

Get This Add-In Now

Build A Professional Live Progress Bar In Excel VBA

Bronze, Silver, Gold and Platinum Elite Membership badges
Like this free workbook?

Get the updated member versions of the trainings & workbooks.

Elite members get the improved versions of what Randy shares for free on YouTube, plus everything below:

  • 230+ updated trainings & workbooks
  • 30 business tools & counting
  • GPT workbooks & VBA codebooks
  • Full training archive + videos
  • Platinum coaching with Randy
  • Early access & member discounts
See Elite Plans →Plans from $5/month · Instant access · Cancel anytime

How to Build a Custom Live Progress Bar in Excel Using VBA

Ever clicked a macro button and sat there staring at a spinning cursor, wondering if Excel has actually crashed or if it’s just working hard? It’s the single biggest mistake VBA developers make: leaving the user in the dark. Today, we are going to fix that by building a professional, custom progress bar from scratch.

Why Your Workbook Needs a Progress Bar

User experience (UX) is often overlooked in Excel development. If a macro takes more than 5 seconds to run, users tend to get anxious. They might click the screen, causing the dreaded “Not Responding” message, or worse, try to force-quit the application. A live progress bar provides visual confirmation that the process is moving and gives an estimated time of completion through a percentage counter.

Step 1: Designing the Visual Component

Instead of using complex UserForms that can be buggy or difficult to resize, we are using a single Rectangle Shape.

Insert a Shape: Go to Insert > Shapes and draw a rectangle on your sheet.

Format the Shape: Name it ProgressBar in the Selection Pane. This is crucial as our VBA code will reference this specific name.

The Gradient Trick: To make the bar “grow,” we don’t actually change the size of the shape. Instead, we manipulate a Gradient Fill. By using three gradient stops, we can create a hard line between a ‘filled’ color (like green) and an ’empty’ color (like white).

Step 2: The VBA Logic

The core of this project is a sub-routine called SetProgress. This routine accepts a percentage (as a decimal) and updates the gradient stops of our shape accordingly.

Sub SetProgress(pct As Double)
    With Sheet1.Shapes(“ProgressBar”).Fill.GradientStops
        .Item(1).Position = 0
        .Item(2).Position = pct
        .Item(3).Position = pct + 0.01
    End With
    ‘ Refresh the screen to show progress
    DoEvents
End Sub

By including DoEvents, we allow Excel to refresh the screen and update the UI while the macro continues to run in the background.

Step 3: Integrating with Your Data

To make this work with a real-world task, like cleaning data or formatting thousands of rows, you simply calculate the progress within your loop. If you are looping from row 3 to the last row, your percentage is simply (CurrentRow / LastRow).

As the loop progresses, you call the SetProgress routine. Once the task reaches 100%, you can use the. Visible property of the shape to hide it from view, leaving the user with a clean, updated spreadsheet.

Adding a progress bar is a small touch that separates amateur workbooks from professional applications. It builds trust with your users and prevents unnecessary crashes caused by impatient clicking.

RELATED TRAININGS

Looking for more resources?

Use the search bar below or explore the Related Trainings above for more content tailored to your interests!

Expand Your Knowledge

Excel AI Toolpack Add-In

Combines 12 incredible AI tools into one seamless package. Revolutionize your productivity by effortlessly fixing formula errors, extracting data, analyzing dashboards in a single click, and receiving instant AI responses. No API required—just the untapped potential of AI enhancing Excel.

Consists of 1000 resources, ensuring it's the only Excel reference you'll ever need. The guide is organized into 10 tabs, each containing 100 resources that are easily sortable and filterable, making it effortless to find the tools you're looking for.

ULTIMATE FREELANCERS
RESOURCE GUIDE

Packed with essential tools and templates, this comprehensive guide is your one-stop-shop for all things freelancing. With 1,000 live links and a single click-to-update feature, you'll always have access to the latest freelancing resources.

THE FREELANCER'S ACADEMY MASTERCLASS

Master the art of negotiation for higher rates, elevate your portfolio, and achieve financial independence through monetizing your expertise. Acquire the essential strategies and tools to launch and grow your freelance business successfully.

An exclusive collection of refined Excel workbooks, each enhanced with advanced tools and features, and designed to streamline your workflow.

EXCEL FOR FREELANCERS MENTORSHIP PROGRAM

Unlock your path to financial freedom with our Mentorship Program. Gain the skills and confidence to create your own Excel-based applications, paving the way for a sustainable passive income stream. Join us and transform your aspirations into reality.

The Ultimate CRM Application gives you a powerful, organized system inside Excel to track leads, manage follow-ups, monitor your pipeline, and stay on top of every opportunity — all in one place. No more scattered notes or missed deals. You’ll save hours each week, gain total clarity over your sales process, and operate with the confidence of a true professional while moving prospects smoothly from first contact to closed deal.

Picture of Randy Austin

Randy Austin

Randy Austin is a 7x MVP and a Global Excel Awards Winner, with 30 years of experience in Excel solutions. His YouTube videos have garnered over 40+ million views, with over 500 trainings and templates, empowering users with practical Excel development techniques and templates.

Get 450+ done-for-you Excel templates, plus 117+ VBA trainings, all organized in one searchable library. Every workbook includes tutorials, PDF codebooks, and built-in custom GPT support—so you can find, customize, and start using proven Excel solutions without rebuilding from scratch.

New Product

STOP LOSING WORK IN EXCEL. GET 8 TOOLS IN ONE RIBBON TAB.

Auto-save with real version history, team sync, per-person access control, a pop-up date and time picker, import manager, link finder and file manager. The Excel Productivity Suite installs into Excel itself, so every tool is right there in every workbook you open.

1,000 verified AI resources — all in one Excel-based guide. Explore tools, courses, experts, and communities across 10 categories, all curated and organized so you can skip the noise and focus on what actually helps you grow. Sort, filter, and learn faster with a built-in Expert GPT assistant — your shortcut to mastering AI without wasting time searching.

Turn Your Excel Vision into Reality!

Need a custom Excel VBA solution? My expert developers build powerful automation—dashboards, data processing, reporting, and more. Save time and boost efficiency with a tailored solution!

Master the Web with Excel VBA

Tired of wasting time on repetitive online tasks? With Complete Web Automation with Excel VBA, you’ll discover how to turn tedious web browsing, form-filling, and data collection into fully automated processes—all directly from Excel. Imagine logging in, scraping data, filling forms, or even handling pop-ups in seconds instead of hours. This course equips you with the tools to work smarter, not harder—so you can save valuable time, boost your productivity, and gain confidence in automating tasks like a pro.

Stop creating videos no one is searching for.

The best video idea isn't always the one in your head. Sometimes the best idea is the one thousands of people are already searching for. VidIQ helps me find those opportunities before I spend hours making a video. Definitely one of the tools I use the most.

DOWNLOAD YOUR FREE WORKBOOK

Kindly avoid using Hotmail, outlook.com, or live.com email addresses, as they may incorrectly mark our emails as spam, resulting in delivery issues for your workbook.

It's Great to see you!

Login or Create an Account if you still don't have one...