IRtdServer.ConnectData Method (Excel)
Adds new topics from a real-time data server. The ConnectData method is called when a file is opened that contains real-time data functions or when a user types in a new formula which contains the RTD function.
Syntax
expression .ConnectData(TopicID, Strings(), GetNewValues)
expression A variable that represents an IRtdServer object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
TopicID |
Required |
Long |
A unique value, assigned by Microsoft Excel, which identifies the topic. |
Strings() |
Required |
Variant |
A single-dimensional array of strings identifying the topic. |
GetNewValues |
Required |
Boolean |
True to determine if new values are to be acquired. |
Return Value
Variant