Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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"
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.