Documentazione HotXLS

ClearComments metodo

Clears all cell comments from the specified range

Sintassi

procedura ClearComments;

Esempio

This example removes review comments from a report body before the workbook is delivered to users. Cell values e 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;

Vedere also