HotXLS-dokumentation Innehåll Startsida Översikt TGridToXLS IXLSWorkbook Startsida Innehåll Översikt

ClearComments metod

Clears all cell comments from the specified range

Syntax

procedure ClearComments;

Exempel

This example removes review comments from a report body before the workbook is delivered to users. Cell values and formatting remain in place
var ReportBody: IXLSRange; begin ReportBody := Workbook.Sheets[1].Range['A2', 'H40']; ReportBody.ClearComments; Workbook.SaveAs('C:\Reports\customer-copy.xls'); end;

Se även

IXLSRange.AddCommentmetod
IXLSRange.Commentegenskap
IXLSRange.Clearmetod Copyright © 2010-2026 losLab Software