OpenSTAAD V8i

Table.SetCellValue

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

VB Syntax

Table.SetCellValue ReportNo, TableNo, RowNo, ColNo, Data_Type Value

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.

Value

A variable of Data_Type (Integer, Long, Double, String) containing the value to be inserted in the cell.

VB Example

'Get the application object --
'Set value to cell
RowNo = 2
ColNo = 5
Value = 5.25       'Declared as Double
objOpenSTAAD.Table.SetCellValue ReportNo, TableNo, Rowno, ColNo, Value