HotXLS-dokumentation
Indhold
Startside
Oversigt
TGridToXLS
IXLSWorkbook
Startside
Indhold
Oversigt
ClearComments metode
Clears all cell comments from the specified range
Syntaks
procedure ClearComments;
Eksempel
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 også
IXLSRange.AddCommentmetode
IXLSRange.Commentegenskab
IXLSRange.Clearmetode
Copyright © 2010-2026 losLab Software