Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Declarations

  • Last UpdatedJul 18, 2023
  • 1 minute read

VBA declarations allow you to manipulate and control variables and constants. The Declaration functions and statements predefined in VBA are:

CreateObject function

Creates an OLE Automation object reference

Const statement

Assigns a symbolic name to a constant value.

Declare statement

Declare references to external procedures in a DLL.

Dim statement

Allocates storage for, and declares the data type of, variables and arrays.

IsDate

Determines if a Variant parameter can be converted to a date.

IsEmpty

Determines if a Variant parameter has been initialized.

IsNull

Determines if a Variant contains NULL.

IsNumeric

Determines if a Variant can be converted to a numeric data type.

Nothing keyword

Releases an OLE Automation object reference from a variable of object type.

Option Base statement

Declares the default lower bound for array subscripts.

Option Compare statement

Determines the default string comparison method. Forces explicit declaration of all variables.

ReDim statement

Used to size or resize a dynamic array.

Setstatement

Assigns an OLE Automation object reference to a variable of object type.

Staticstatement

Allocates storage for, and declares the data type of, variables and arrays.

VarType

Indicates the data type used within the Variant.

TitleResults for “How to create a CRG?”Also Available in