Presentation.VBProject property (PowerPoint)

Returns a VBProject object that represents the individual Visual Basic project for the presentation. Read-only.

Syntax

expression. VBProject

expression A variable that represents a Presentation object.

Return value

VBProject

Example

This example changes the name of the Visual Basic project for the active presentation.

ActivePresentation.VBProject.Name = "TestProject"

See also

Presentation Object

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.