다음을 통해 공유


Workbook.VBProject Property (Excel)

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

Syntax

.VBProject

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"

참고 항목

개념

Workbook Object

Workbook Object Members