ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   creating dataseries from real time data (https://www.excelbanter.com/excel-worksheet-functions/138455-creating-dataseries-real-time-data.html)

Maurice

creating dataseries from real time data
 
I am trying to create a dataseries from real time quotes, thus far i have the
following code:

Private Sub Worksheet_Change(ByVal Target As Range)

If Target.Address = "$C$5" Then
Range("E65536").End(xlUp).Offset(1, 0) = Range("G1") + Target
If Range("E65536").End(xlUp).Address = "$E$100" _
Then Range("$E$2").Delete Shift:=xlUp


End If
End Sub


However, this macro does not recognise a value change in target cell a5, it
does so only after i click on a5 and <enter.
Could someone rewrite to code so it does recognise a changing cell? Or is it
possible to create a cell function that places consecutive outcomes in a
colom?

I really appriciate all the help i can get on this one!
Thanks in advance.

Maurice
Amsterdam, The Netherlands


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com