Hi all,
I know it is possible to show a counter on the status bar when a lengthy macro executes, by setting up code such as : Application.StatusBar = “Processing row ” & myRow & ” of ” & myLastRow.
The variables are counters in a loop!
Is it possible to have a progress bar display on the status bar of stead of this text based counter.?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Show a progress bar on the status bar? (Excel 2000 >)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Show a progress bar on the status bar? (Excel 2000 >)
- This topic has 17 replies, 7 voices, and was last updated 17 years, 5 months ago.
AuthorTopicWSRudi
AskWoody LoungerDecember 14, 2004 at 2:49 pm #413485Viewing 2 reply threadsAuthorReplies-
WSTonyE
AskWoody LoungerDecember 14, 2004 at 2:54 pm #912701Hi Rudi
Check Daily Dose of Excel for an example.
It also includes links to other progress bars. -
WSRudi
AskWoody Lounger -
WSJohnBF
AskWoody Lounger -
WSRudi
AskWoody Lounger -
WSRudi
AskWoody Lounger -
WSRudi
AskWoody LoungerDecember 20, 2007 at 9:48 pm #1089281John,
What exactly is ChrW(9632)? Is this simply a character such as Wingdings? If I type the letter “n” and I change the font to Wingdings, it shows a solid rectangle character.
TXI think I may have answered my Q. However, could I ask if it is accessable from in Excel. If I use the Char function, 9632 does not give me anything. Is there another function to show this set of chars?
-
WSHansV
AskWoody LoungerDecember 20, 2007 at 11:01 pm #1089295ChrW returns a Unicode character (see What is Unicode?)
You can use VBA to enter such a character in a cell:
ActiveCell.Value = ChrW(9632)
or
Worksheets(“MySheet”).Range(“D37”).Value = ChrW(9632). As far as I know, there is no equivalent worksheet function.
-
-
-
WSJohnBF
AskWoody Lounger
-
-
WSRudi
AskWoody Lounger
-
-
WSTonyE
AskWoody LoungerDecember 14, 2004 at 2:54 pm #912702Hi Rudi
Check Daily Dose of Excel for an example.
It also includes links to other progress bars. -
WSRudi
AskWoody LoungerDecember 20, 2007 at 6:39 pm #1089244I eeeventually got round to trying out Tony and Johns advice on Status Bar Progress bars, and it turned out to be quite superb. Combining the link Tony provided with Johns advice to use ChrW(9632) characters of stead of Chr(31), it looks great!!!
A belated TX guys!Here is the code…Not that I understand any of it!!
Sub ShowProgress()
Dim i As Long
Dim dPctDone As Double
Dim lSqrNum As LongConst lMAXSQR As Long = 10
For i = 1 To 30
dPctDone = i / 30
lSqrNum = dPctDone * lMAXSQR
Application.StatusBar = “Project Progress : ” & Application.Rept(ChrW(9632), lSqrNum)
Application.Wait Now + TimeSerial(0, 0, 1)
Next iApplication.StatusBar = False
End Sub
-
Don Wells
AskWoody LoungerDecember 21, 2007 at 12:21 am #1089327Here is a derivation that gives the user an indication of how far the program still has to go.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ShowProgress()
Dim i As Long
Dim dPctDone As Double
Dim lSqrNum As LongConst lMAXSQR As Long = 50
For i = 1 To 100
dPctDone = i / 100
lSqrNum = dPctDone * lMAXSQR
Application.StatusBar = “Project Progress : ” _
& Application.Rept(ChrW(9632), lSqrNum) _
& Application.Rept(ChrW(9633), lMAXSQR – lSqrNum)
Application.Wait Now + TimeSerial(0, 0, 1)
Next iApplication.StatusBar = False
End Sub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
WSJezza
AskWoody Lounger -
Don Wells
AskWoody Lounger -
Don Wells
AskWoody LoungerDecember 21, 2007 at 6:42 am #1089377Here’s a version that works in both Word and Excel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Option ExplicitSub ShowProgress()
Dim i As Long
Dim j As Long
Dim dPctDone As Double
Dim lSqrNum As Long
Dim msg As String‘this variable needed only for demo
Dim mytimer As SingleConst lMAXSQR As Long = 50
For i = 1 To 100
dPctDone = i / 100
lSqrNum = dPctDone * lMAXSQR
msg = “Project Progress : ”
For j = 1 To lSqrNum
msg = msg & ChrW(9632)
Next j
For j = 1 To lMAXSQR – lSqrNum
msg = msg & ChrW(9633)
Next jApplication.StatusBar = msg
Do While Timer >= mytimer And Timer < mytimer + 1
Loop
mytimer = Timer
Next iApplication.StatusBar = False
End Sub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-
WSRudi
AskWoody Lounger
-
-
WSpieterse
AskWoody Lounger
-
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Cox Communications and Charter Communications to merge
by
not so anon
5 hours, 10 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
4 hours, 17 minutes ago -
hibernate activation
by
e_belmont
8 hours, 3 minutes ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
11 hours, 51 minutes ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
14 hours, 55 minutes ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
14 hours, 57 minutes ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
18 hours, 7 minutes ago -
Out of band for Windows 10
by
Susan Bradley
19 hours, 40 minutes ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 2 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
1 day, 10 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
1 day, 8 hours ago -
Auto Time Zone Adjustment
by
wadeer
1 day, 14 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 day, 12 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
16 hours, 59 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
5 hours, 25 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
11 hours, 49 minutes ago -
Apps included with macOS
by
Will Fastie
9 hours, 41 minutes ago -
Xfinity home internet
by
MrJimPhelps
6 hours, 28 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
1 day, 7 hours ago -
Debian 12.11 released
by
Alex5723
2 days, 11 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
2 days, 15 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
1 day, 19 hours ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
1 hour, 7 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
3 days, 8 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
2 days, 22 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
20 hours, 36 minutes ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
3 days, 3 hours ago -
Some advice for managing my wireless internet gateway
by
LHiggins
2 days, 10 hours ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
1 day, 12 hours ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
3 days, 20 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.