Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Workbook.HasVBProject Property

Gets a value that indicates whether a workbook has an attached Microsoft Visual Basic for Applications (VBA) project.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
bool HasVBProject { get; }

Property Value

Type: System.Boolean
true if the workbook has an attached VBA project; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.