Document.ViewCode Method (2007 System)
Displays the code window for the selected ActiveX control in the document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Sub ViewCode
'Usage
Dim instance As Document
instance.ViewCode()
public void ViewCode()
public:
void ViewCode()
public function ViewCode()
Remarks
This method is available only from outside of Microsoft Office Word.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.