Function CellHasStr returns TRUE if the specified cell of a referenced worksheet contains a value or an equation which returns a string value.
FUNCTION CellHasStr(
h : HANDLE;
row : INTEGER;
col : INTEGER): BOOLEAN;def vs.CellHasStr(h, row, col):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to worksheet. |
| row | INTEGER | Worksheet row index. |
| col | INTEGER | Worksheet column index. |
resultOK := CellHasStr(h, 1, 2);import vs
# Function CellHasStr returns TRUE if the specified cell of a referenced
# worksheet contains a value or an equation which returns a string value.
h = vs.FSActLayer() # handle to the first selected object on the active layer
row = 10
col = 5
ok = vs.CellHasStr(h, row, col)
if ok:
vs.Message('CellHasStr succeeded')
else:
vs.Message('CellHasStr failed')IsWSCellString, IsWSSubrowCellString
CellHasStr is obsolete as of VectorWorks 9.0, see IsWSCellString, IsWSSubrowCellString
Availability: from All Versions