Share via


WorkbookExtensions.HasVstoObject Method

Include Protected Members
Include Inherited Members

Returns a value that indicates whether a Microsoft.Office.Tools.Excel.Workbook host item has been created for the current Microsoft.Office.Interop.Excel.Workbook object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member HasVstoObject(_Workbook, ApplicationFactory) Returns a value that indicates whether a Microsoft.Office.Tools.Excel.Workbook host item has been created for the current Microsoft.Office.Interop.Excel.Workbook object in an application-level add-in. Pass the Globals.Factory object in your project to the factory parameter.
Public methodStatic member HasVstoObject(_Workbook, Factory) Returns a value that indicates whether a Microsoft.Office.Tools.Excel.Workbook host item has been created for the current Microsoft.Office.Interop.Excel.Workbook object in a document-level customization. Pass the Globals.Factory object in your project to the factory parameter.

Top

See Also

Reference

WorkbookExtensions Class

Microsoft.Office.Tools.Excel.Extensions Namespace