Returns the displayed string value of a cell in the referenced worksheet.
PROCEDURE GetWSCellString(
worksheet : HANDLE;
row : INTEGER;
column : INTEGER;
VAR cellString : STRING);def vs.GetWSCellString(worksheet, row, column):
return cellString| Name | Type | Description |
|---|---|---|
| worksheet | HANDLE | Handle to worksheet. |
| row | INTEGER | Row of cell to be queried. |
| column | INTEGER | Column of cell to be queried. |
| cellString | STRING | The string value contained in the worksheet cell. |
Gets the specified worksheet cell's displayed string. If the cell contains a string, the displayed string IS that string. If the cell contains a number, the displayed string is that number PLUS any formatting applied to that number. Use IsWSCellString and/or IsWSCellNumber to determine what type of value the cell actually contains. Use GetWSCellValue to retrieve actual numerical value without formatting from a cell that contains a number.
IsWSCellString, IsWSCellStringN, IsWSCellNumber, GetWSCellValue
Availability: from VectorWorks 9.0