Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 743 Bytes

Excel.Workbook.VBProject.md

File metadata and controls

37 lines (22 loc) · 743 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Workbook.VBProject property (Excel)
vbaxl10.chm199181
vbaxl10.chm199181
Excel.Workbook.VBProject
1bef5b7e-e169-fa4b-9810-6cd87ecd0a8d
05/29/2019
medium

Workbook.VBProject property (Excel)

Returns a VBProject object that represents the Visual Basic project in the specified workbook. Read-only.

Syntax

expression.VBProject

expression A variable that represents a Workbook object.

Example

This example changes the name of the Visual Basic project in the workbook.

ThisWorkbook.VBProject.Name = "TestProject"

[!includeSupport and feedback]