ViewCode Method

See Also                  Applies To

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

Note   This method is available only from outside of Word.

Syntax

expression.ViewCode

expression   Required. An expression that returns a Document object.