Workbook.WebPagePreview Method (Excel)
Displays a preview of the specified workbook as it would look if saved as a Web page.
Syntax
expression .WebPagePreview
expression A variable that represents a Workbook object.
Example
This example displays a preview of the first workbook as a Web page.
Workbooks(1).WebPagePreview