Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel StatusBar update not working (VBA)

Status
Not open for further replies.

RosieMP

MIS
Jul 20, 2007
25
US
GAH!

Not sure whether this is the right forum for this one...

Can anyone suggest why my status bar isn't working?

If rRaw Mod 100 = 0 Then
Application.StatusBar = "Processed " & Format((rRaw / BottomRow), "%")
Else
Application.StatusBar = "whatevah"
End If

Even with bad variables I should get "whatevah" but I get nothing but the title of the Excel doc -- it never updates at all.
 
Look at the bottom-left corner of excel window. "%" will return only empty '%' sign, try "#.00%" instead.

combo
 
Wow, I feel like a moron. I was looking in the wrong place.

But I feel like a moron with the right answer, which is the important thing.

Thanks!
 
If you like to change titles:
Code:
Application.Caption = "replaces 'Excel'"
Application.ActiveWindow.Caption = "replaces 'Book'"
Application.Caption = "" ' reset application name
Application.ActiveWindow.Caption = False 'reset workbook name


combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top