Share via


Presentation.VBProject Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  ActivePresentation.VBProject.Name = "TestProject"

See Also