Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.29 KB

CellValue.md

File metadata and controls

51 lines (39 loc) · 1.29 KB

CellValue

Description

Function CellValue returns the numeric value of a specified cell in the active worksheet. If the specified cell is not a numeric type, then this function returns 0.

FUNCTION CellValue(
				row    : INTEGER;
				column : INTEGER): REAL;
def vs.CellValue(row, column):
    return REAL

Parameters

Name Type Description
row INTEGER Worksheet row index.
column INTEGER Worksheet column index.

Remarks

Returns the floating point representation of the current worksheet's cell specified by "row" and "column" numbers. If the specified cell is not a numeric type, then this function returns 0. [sd 8/13/98]

Examples

resultVal := CellValue(1, 2);
import vs

# Function CellValue returns the numeric value of a specified cell in the
# active worksheet.
row = 10
column = 5

value = vs.CellValue(row, column)
vs.Message('CellValue returned: ' + str(value))

See Also

GetWSCellValue, GetWSSubrowCellValue

Version

CellValue is obsolete as of VectorWorks 9.0, see GetWSCellValue, GetWSSubrowCellValue

Availability: from All Versions

Category