Share via


Workbook.WebPagePreview Method

Excel Developer Reference

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.

Visual Basic for Applications
  Workbooks(1).WebPagePreview

See Also