Accessing ActiveX Objects with CitectVBA

ActiveX objects which have been added to a graphics page in your Citect SCADA project can be referred to in CitectVBA by constructing a unique reference name using the page name, the underscore character, the letters 'AN', and the animation number of the object.

This reference name is called the Event Class name in Citect SCADA. To view the reference name, double-click the ActiveX object, select the Access tab, then click the Identification tab.

In this example, the reference name for the Temperature meter object would be referred to in CitectVBA as ActiveX_AN125.

All object properties can be accessed and manipulated using CitectVBA in the same way that object properties can be manipulated using Cicode.

See Also

Accessing Cicode Tags with CitectVBA

Using CitectVBA in Citect SCADA Command or Expression fields

Published June 2018