Document.ViewCode Method

Word Developer Reference

Displays the code window for the selected Microsoft ActiveX control in the specified document.

Syntax

expression.ViewCode

expression   Required. A variable that represents a Document object.

Remarks

This method is available only from outside Microsoft Office Word.

See Also