ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   On Screen Loop Counter (https://www.excelbanter.com/excel-programming/293898-screen-loop-counter.html)

simoncohen

On Screen Loop Counter
 
I would like some code to put in a macro to give me an on screen counte
of the number of times a particular loop has been processed. MsgBo
type functions appear no good as enter needs to be hit each time. An
Ideas ? Thank

--
Message posted from http://www.ExcelForum.com


Kieran[_46_]

On Screen Loop Counter
 
The Application.DisplayStatusBar mtehod displays a message at the bas
of the screen.



Try these examples


sub ShowMessage()
Application.DisplayStatusBar = True
Application.DisplayStatusBar = "Hello world"
end Sub

Sub HideMessage
Application.DisplayStatusBar = False
end su

--
Message posted from http://www.ExcelForum.com


Bob Phillips[_6_]

On Screen Loop Counter
 
Put it in a worksheet cell

For i = 1 To 10000
ActiveSheet.Range("A1").Value = i
'do your stuff
Next i

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"simoncohen " wrote in message
...
I would like some code to put in a macro to give me an on screen counter
of the number of times a particular loop has been processed. MsgBox
type functions appear no good as enter needs to be hit each time. Any
Ideas ? Thanks


---
Message posted from http://www.ExcelForum.com/




simoncohen[_3_]

On Screen Loop Counter
 
Thanks Guys - Sorte

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 06:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com