PC Review


Reply
Thread Tools Rate Thread

Capturing a series of calculated values to analyse Real-Time Data

 
 
=?Utf-8?B?R2F2aW4gTWFyY3Vz?=
Guest
Posts: n/a
 
      4th Oct 2006
I want to be able to record cell changes over a random period of time in
order for me to attach events to specific patterns of cell changes. This has
to be done in real time so that quick decisions can be made. How can this be
done?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      4th Oct 2006
use the worksheet_change event to capture changes to cells.

http://www.cpearson.com/excel/events.htm
for an overview of events.

--
Regards,
Tom Ogilvy


"Gavin Marcus" wrote:

> I want to be able to record cell changes over a random period of time in
> order for me to attach events to specific patterns of cell changes. This has
> to be done in real time so that quick decisions can be made. How can this be
> done?

 
Reply With Quote
 
=?Utf-8?B?R2F2aW4gTWFyY3Vz?=
Guest
Posts: n/a
 
      4th Oct 2006
Does this allow you to save multiple changes ie multiple calculations on
cells. What method is used to store the changes?

"Tom Ogilvy" wrote:

> use the worksheet_change event to capture changes to cells.
>
> http://www.cpearson.com/excel/events.htm
> for an overview of events.
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Gavin Marcus" wrote:
>
> > I want to be able to record cell changes over a random period of time in
> > order for me to attach events to specific patterns of cell changes. This has
> > to be done in real time so that quick decisions can be made. How can this be
> > done?

 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      4th Oct 2006
YOU write the code within the event that takes the calculated values and
stores them in a new location for further reference. No, it doesn't
automatically do any work for you. For example

Private Sub Worksheet_Change(ByVal Target As Range)
if target.Address = "$A$1 then
set rng = cells(rows.count,20).End(xlup)(2)
Application.EnableEvents = False
rng.Value = Range("a1").Value
Application.EnableEvents = True
end if
End Sub

is an example that would record changes made to cell A1. The history would
be in column 20.

--
Regards,
Tom Ogilvy
End Sub

"Gavin Marcus" wrote:

> Does this allow you to save multiple changes ie multiple calculations on
> cells. What method is used to store the changes?
>
> "Tom Ogilvy" wrote:
>
> > use the worksheet_change event to capture changes to cells.
> >
> > http://www.cpearson.com/excel/events.htm
> > for an overview of events.
> >
> > --
> > Regards,
> > Tom Ogilvy
> >
> >
> > "Gavin Marcus" wrote:
> >
> > > I want to be able to record cell changes over a random period of time in
> > > order for me to attach events to specific patterns of cell changes. This has
> > > to be done in real time so that quick decisions can be made. How can this be
> > > done?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Capturing Real Time Data Rob Microsoft Excel Worksheet Functions 2 24th Feb 2010 04:44 AM
Time Series and Creating data points within a series Cristal Microsoft Excel Misc 2 30th Nov 2009 08:07 PM
I need calculated time in a "real number" format MRH Microsoft Excel Worksheet Functions 2 12th Feb 2009 05:48 PM
Get values in real time Anna Microsoft Access Forms 1 17th Sep 2006 06:37 PM
Data Range - Why wont it pick up my series values and Xaxis Values? vankallm Microsoft Excel Charting 1 8th May 2004 06:04 AM


Features
 

Advertising
 

Newsgroups
 


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