OutlineCode.Name property (Project)

Gets the name of the OutlineCode object. Read/write String.

Syntax

expression.Name

expression A variable that represents an OutlineCode object.

Remarks

For a code example that uses the Task object, see Name.

Example

Name is the default property for the OutlineCode object. If the first task outline code for the active project is defined, the following example prints the name of the outline code.

Debug.Print ActiveProject.OutlineCodes(1)

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.