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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

countdown > countup 1

Status
Not open for further replies.

hisbadbanana

IS-IT--Management
Oct 16, 2006
20
GB
i have a macro that (while performing its task) counts down from 100 to zero. how do i make count up so it looks like a percentage.

here's the one line of code that i need to change.

Code:
 Application.StatusBar = (100 / (n - myRow) * (i - myRow))
 
Like this ?
Application.StatusBar = 100 - (100 / (n - myRow) * (i - myRow))

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top