WebPagePreview Method [Word 2007 Developer Reference]

Switch View :
ScriptFree
Document.WebPagePreview Method
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