On Screen Loop Counter

  • Thread starter Thread starter simoncohen
  • Start date Start date
S

simoncohen

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
 
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
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top