Returns a VBProject object that represents the Visual Basic project in the specified workbook. Read-only.
Example
This example changes the name of the Visual Basic project in the workbook.
ThisWorkbook.VBProject.Name = "TestProject"
Returns a VBProject object that represents the Visual Basic project in the specified workbook. Read-only.
This example changes the name of the Visual Basic project in the workbook.
ThisWorkbook.VBProject.Name = "TestProject"