OpenSTAAD V8i

Table.GetCellValue

Gets a value in the cell of table at the specified row and column in a report.

VB Syntax

Table.GetCellValue ReportNo, TableNo, RowNo, ColNo, szValue

Where:

ReportNo

Long variable containing the report number.

TableNo

Long variable containing the table number.

RowNo, ColNo

Long variables containing the row and column number of the cell.

szValue

String variable in which the value in the cell will be copied .

Return Value

Copies the data in the specified cell into the string provided.

VB Example

Dim szValue As String
'Get the application object --
'Set value to cell
RowNo = 2
ColNo = 5
objOpenSTAAD.Table.GetCellValue ReportNo, TableNo, Rowno, ColNo, szValue