Workbook.WebPagePreview method (Excel)
Displays a preview of the specified workbook as it would look if saved as a webpage.
expression A variable that represents a Workbook object.
This example displays a preview of the first workbook as a webpage.
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.