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
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.
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
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.