LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Make a changing cell visible while still running

I want to keep a running tally in a cell while the vba code is still
running. So I say sometheing like...

For K = 1 to 100
TopicWS.Cells(1, 2).Value = K
'-- do something which takes a second or two
Next

But the new values of K (1..99) do not become visible in Cell(1, 2)
until the program stops, at which point only the last one (100) is
showing.

How do I get it to update visibly while still running?

Thanks. --David.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make a running total change in a new cell Meenie Excel Worksheet Functions 3 April 7th 08 07:48 PM
How to make visible all text in cell with word wrap on Al Excel Discussion (Misc queries) 0 September 18th 07 05:20 PM
How to make sure a Cell is within the current visible window's ran OKLover[_2_] Excel Programming 2 July 13th 05 01:38 PM
Running a macro by changing a cell value Dave[_54_] Excel Programming 1 March 21st 05 05:58 AM
How can I make the bar that shows the content of the cell visible. ZG Excel Discussion (Misc queries) 1 January 8th 05 07:27 PM


All times are GMT +1. The time now is 02:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"