Workbook.WebPagePreview method (Excel)

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

Syntax

expression.WebPagePreview

expression A variable that represents a Workbook object.

Example

This example displays a preview of the first workbook as a webpage.

Workbooks(1).WebPagePreview

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.