store RTD updates

adilift

New Member
Joined
Nov 10, 2002
Messages
12
Hi;
I am receiving RTD price streams in cell A1. How can I go about storing the RTD price updates in excel for that particular cell.
Any help is appreciated

Adil
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Could explain to a novice such as myself what that means?

Does the value of cell A1 change periodically?

And you would like to keep a list of these values somewhere?
 
Upvote 0
RTD is similar to DDE. RTD is "real time data" that excel is receiving from a RTD server. The value in the cell "A1" with RTD link changes dynamically. I would like to somehow capture these RTD updates and store them on an excel sheet.

Adil
 
Upvote 0
Assuming you have a blank sheet name "Sheet2"

Hit Alt+F11 to bring up the VBA editor
On the left should be a window.
Look for the name of the sheet that has the dynamically updated cell.

click on it.

Choose Worksheet on the first drop down menu.
Choose Change on the drop down menu and paste the following code.

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = Range("A1").Address Then
  Worksheets("Sheet2").Cells(65536, 1).End(xlUp).Offset(1, 0).Value = Target.Value
End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,142
Members
448,551
Latest member
Sienna de Souza

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top