Saves Worksheet in HTML file. Returns 1 if it succeeds.
Remarks
Syntax
function SaveAsHTML(FileName: WideString): Integer;
FileName |
WideString. A string that indicates the name of the file to be saved. You can include a full path; if you don't, Worksheet saves the file in the current folder. |
Example
This example creates a new workheet and then saves it in the HTML file.
Var
Workbook: IXLSWorkbook;
Worksheet: IXLSWorksheet;
begin
Workbook := TXLSWorkbook.Create; {create new Workbook}
Worksheet := Workbook.Worksheets.Add;
{....}
Worksheet.SaveAsHTML('C:\sheet.html');
end;