Share via


CodeName Property

Returns the code name for the project. Read-only String.

Remarks

The code name is the name of the module that stores event macros (and other macros you may have defined) for a project. The default name for the module is "ThisProject"; you can view it in the Project window in the Visual Basic Editor.

Changing the project name doesn't change the code name, and changing the code name (using the Properties window in the Visual Basic Editor) doesn't change the project name.

Applies to | Project Object, Projects Collection Object

See Also | Name Property