Documentazione HotXLS

TXLSComment class

Unità: lxDraw
Rappresenta a cell comment

Descrizione

Usa the Comment proprietà to return a Comment object. L'esempio seguente changes the text in the comment in cell E5
Workbook.Sheets[1].Range['E5', 'E5'].Comment.Text := 'Comment';
Usa the AddComment method to add a comment to a range. L'esempio seguente adds a comment to cell E5 on Worksheet one
with Workbook.Sheets[1].Range['E5', 'E5'].AddComment do begin
    Visible := False;
    Text := 'Comment text';
    Author := 'Reviewer';
end;

Proprietà

Author proprietà