Document.WebPagePreview Method

Word Developer Reference

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

Syntax

expression.WebPagePreview

expression   Required. A variable that represents a Document object.

Example

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

Visual Basic for Applications
  ActiveDocument.WebPagePreview

See Also