ITabSheet.CellComment

Syntax

CellComment(Row: Integer; Column: Integer): String;

Parameters

Row. Row index. Admissible parameter value lies within the [0; RowsCount) range.

Column. Column index. Admissible parameter value lies within the [0; ColumnsCount) range.

Description

The CellComment property determines a comment for the cell which is in the Row row and in the Column column.

Example

Sub Main;

Var

MB: IMetabase;

Rep: IPrxReport;

Tab: ITabSheet;

s: String;

Begin

MB:=MetabaseClass.Active;

Rep:=MB.ItemById("Reg_rep").Bind As IPrxReport;

Tab:=Rep.ActiveSheet.Table;

s:=Tab.CellComment(3,3);

End Sub Main;

As a result the "s" variable will contain the comment to the D3 cell.

See also:

ITabSheet