_Document.CodeName _Document.CodeName _Document.CodeName Property


Returns the code name for the specified document.

 property System::String ^ CodeName { System::String ^ get(); };
public string CodeName { get; }
Public ReadOnly Property CodeName As String

Property Value


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.

Applies to