property CalcEdit.IsValid ([Line as Variant]) as Boolean
Specifies whether the expression is valid.

TypeDescription
Line as Variant A Long expression that specifies the index of the line. 1 indicates the first line in the control, 2 indicates the second and so on...
Boolean A boolean expression that indicates whether the expression being evaluated is syntactically correct.
The Text property indicates the expression being evaluated. The Result property returns the result of the evaluation, if the expression is valid, else 0 is returned. Use the IsValid property to programmatically determine when the control's expression is valid or not. The control does not display the result of the evaluation, if the expression is not valid. The TextLine property specifies the text / expression on specified line.