Forum Discussion
tristaanogre
15 years agoEsteemed Contributor
Try the following:
Because rownum is a variable, you need to concatenate it into the string that is being used as the property check.
Sub Marine()
Dim rownum
rownum=14
Set Grid = <object name>
Call aqObject.CheckProperty(Grid, "wValue(" & VarToStr(rownum) & ", ""Mat-Result"")", 0, 30)
End Sub
Because rownum is a variable, you need to concatenate it into the string that is being used as the property check.