Table of Contents

TExcelFile.GetComment Method

Returns the comment at the specified row and column, or an empty string if there is no comment on that cell.

Remarks

Use this method when you are searching for a comment on a fixed position. To loop along all comments on a sheet, see CommentRowCount

Syntax

Unit: FlexCel.Core

function TExcelFile.GetComment(const row: Integer; const col: Integer): TRichString; virtual; abstract;

Parameters

<-> Parameter Type Description
const row Integer Row index (1 based)
const col Integer Column index (1 based)

Returns

The comment on the specified cell, String.Empty if there is no comment on it.

See also