title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Workbook.VBProject property (Excel) |
vbaxl10.chm199181 |
|
|
1bef5b7e-e169-fa4b-9810-6cd87ecd0a8d |
05/29/2019 |
medium |
Returns a VBProject object that represents the Visual Basic project in the specified workbook. Read-only.
expression.VBProject
expression A variable that represents a Workbook object.
This example changes the name of the Visual Basic project in the workbook.
ThisWorkbook.VBProject.Name = "TestProject"
[!includeSupport and feedback]