Saving a document as a Web page is the process of creating and
saving an HTML file and any supporting files. To do this, use the SaveAs
method, as shown in the following example, which saves the active workbook as C:\Reports\myfile.htm.
ActiveWorkbook.SaveAs _
Filename:="C:\Reports\myfile.htm", _
FileFormat:=xlHTML
No comments:
Post a Comment