WebPagePreview Method
Collapse the table of content
Expand the table of content

Workbook.WebPagePreview Method (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .WebPagePreview

expression A variable that represents a Workbook object.

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

© 2016 Microsoft