Data source types: Essbase, Planning, Financial Management, Hyperion Enterprise
HypSetActiveConnection() is used to associate the current active worksheet with one of the active connections.
Note: | HypSetActiveConnection does not work with worksheets that contain Report Designer objects |
vtConnectionName: Name of the active connection which is to be associated with the current active worksheet. It is not case-sensitive.
Long. If successful, return value is 0; otherwise, the appropriate error code is returned.