Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the code name for the specified document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
ReadOnly Property CodeName As String
Get
'Usage
Dim instance As _Document
Dim value As String
value = instance.CodeName
string CodeName { get; }
Property Value
Type: System.String
Remarks
The code name is the name for the module that houses event macros for a document. The default name for the module is "ThisDocument"; you can view it in the Project window.