ConnectData Method

Microsoft Excel Visual Basic

ConnectData Method

       

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.

expression.ConnectData(TopicID, Strings, GetNewValues)

expression   Required. An expression that returns an IRtdServer object.

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.