Share via


WebPagePreview Method [Excel 2003 VBA Language Reference]

Displays a preview of the specified workbook as it would look if saved as a Web page.

expression.WebPagePreview

expression An expression that returns a Workbook object.

Example

This example displays a preview of the first workbook as a Web page.

Workbooks(1).WebPagePreview

Applies to | Workbook Object