WebPagePreview Method

Microsoft Word Visual Basic

WebPagePreview Method

       

Displays a preview of the current document as it would look if saved as a Web page.

expression.WebPagePreview

expression   Required. An expression that returns a Document object.

Example

This example displays the current document as it would appear if saved as a Web page.

ActiveDocument.WebPagePreview