Partager via


Document.WebPagePreview Method (Word)

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.

ActiveDocument.WebPagePreview

See Also

Concepts

Document Object Members

Document Object