Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Capturing Real Time Data

Hi,
RTD is placed into an Excel 2007 cell via an Add In. This data is updated at
random times. I would like to capture this data every minute and place it in
another cell in the same Worksheet.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default Capturing Real Time Data

Here I go again. Last time I answered one of these it turned into a full out
development effort. Ain't happening again!!

But... You can set up an event to run at specified intervals. One of the
better coding examples for it is Chip Pearson's code to make the text in a
cell blink. That code is called once per second, you'd just want to change
the interval to 60 seconds, and of course you'd replace the code in Sub
StartBlink with the code to capture your data and move it to the other
cell(s).

Here's the page with Chip's (in)famous blink cell text code:
http://www.cpearson.com/excel/BlinkingText.aspx

Other considerations: be very certain that you reference ThisWorkbook when
referencing worksheets and cells on them because if you happen to be working
in another workbook when the routine runs, it's going to use the current
active workbook's sheets/cells if possible, and probably error out if not,
unless your code is very specific about pointing to the workbook the code is
running from. You might consider replicating the code in the
Workbook_Open() and Workbook_BeforeClose()
events in the
Workbook_Activate() and Workbook_Deactivate()
event procedures.

"Rob" wrote:

Hi,
RTD is placed into an Excel 2007 cell via an Add In. This data is updated at
random times. I would like to capture this data every minute and place it in
another cell in the same Worksheet.

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Capturing Real Time Data



"JLatham" wrote:

Here I go again. Last time I answered one of these it turned into a full out
development effort. Ain't happening again!!

But... You can set up an event to run at specified intervals. One of the
better coding examples for it is Chip Pearson's code to make the text in a
cell blink. That code is called once per second, you'd just want to change
the interval to 60 seconds, and of course you'd replace the code in Sub
StartBlink with the code to capture your data and move it to the other
cell(s).

Here's the page with Chip's (in)famous blink cell text code:
http://www.cpearson.com/excel/BlinkingText.aspx

Other considerations: be very certain that you reference ThisWorkbook when
referencing worksheets and cells on them because if you happen to be working
in another workbook when the routine runs, it's going to use the current
active workbook's sheets/cells if possible, and probably error out if not,
unless your code is very specific about pointing to the workbook the code is
running from. You might consider replicating the code in the
Workbook_Open() and Workbook_BeforeClose()
events in the
Workbook_Activate() and Workbook_Deactivate()
event procedures.

"Rob" wrote:

Hi,
RTD is placed into an Excel 2007 cell via an Add In. This data is updated at
random times. I would like to capture this data every minute and place it in
another cell in the same Worksheet.

Thanks.


Thankyou.
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
Capturing Trend Data over time WildWill Excel Discussion (Misc queries) 1 March 31st 09 12:53 PM
creating dataseries from real time data Maurice Excel Worksheet Functions 0 April 10th 07 02:54 PM
Data from two sheets make up a list in a third sheet (real time) Vedad Excel Worksheet Functions 1 September 15th 06 03:25 PM
storing real time data Meng Excel Discussion (Misc queries) 1 September 15th 06 04:58 AM
Excel 2003's autosum does not update data in real time KokWoei Excel Worksheet Functions 2 April 4th 06 05:12 AM


All times are GMT +1. The time now is 09:45 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"