The ExpressionInvalid attribute determines if the expression stored in Expression is not valid. If the expression is valid, zero is returned, otherwise the last error number of the code check.
|
Syntax |
|
ExpressionInvalid |
|
Return value |
|
Long |
|
Parameter |
|
The attribut is read-only. |
Example
Dim R As Reference
R.Expression := "TV.Stand"
MsgBox(R.InvalidExpression)
# Outputs 0 if the expression is valid, otherwise the last error number