IRtdServer.ConnectData method (Excel)

Adds new topics from a real-time data (RTD) 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 that 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, that 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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.