Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default wait for data to be stable

I have a column of data. I want to wait for data to be stable for
about a second before running a function or event macro. Can this be
done?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default wait for data to be stable

Hi,

I think your going to have to help us by describing what your definition of
un(in)stable data is

however if you want a pause try this

Application.Wait (Now + TimeValue("0:00:05"))

But a note of warning your data could still be showing signs of instability
even after the 5 seconds has elapsed:)

Mike

"Fan924" wrote:

I have a column of data. I want to wait for data to be stable for
about a second before running a function or event macro. Can this be
done?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default wait for data to be stable

I could have worded that better. Can a worksheet be put on pause while
I input data from a file? Trying to speed up the process. My checksum
routine is trying to add the contents of the column while it is
loading and really slowing things down.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default wait for data to be stable

Thinking now. I could erase the cell with the checksum routine, input
file data, and put back the checksum routine after the read is
complete. That would be faster. It would be better if I could halt
all page functions during file read.
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default wait for data to be stable

I got an idea from another thread. Can I change calculations mode for
automatic to manual (and back again) in a macro? It really did speed
things up.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default wait for data to be stable

I found it and it works great!

Application.Calculation = xlCalculationManual

Application.Calculation = xlCalculationAutomatic
Reply
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
sendkeys(keys,wait) how do I use wait MM Excel Discussion (Misc queries) 1 February 11th 09 03:47 PM
text wrap is not stable clara Excel Discussion (Misc queries) 4 June 24th 08 04:11 PM
Stable formula Syahira New Users to Excel 3 July 28th 06 08:06 PM
Stable chart How too create a stable chart? Charts and Charting in Excel 1 January 24th 06 09:34 AM
Wait for user to change data after msgbox ???? CanadianTrev Excel Discussion (Misc queries) 1 June 18th 05 08:27 PM


All times are GMT +1. The time now is 04:28 AM.

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

About Us

"It's about Microsoft Excel"