Share via


Workbook Constructor (2007 System)

Include Protected Members
Include Inherited Members

This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.

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 method

Workbook()

Infrastructure.

Public method

Workbook(String, String)

Infrastructure.

Top

Remarks

You cannot use the Workbook constructor to create a new Workbook host item.

In application-level projects, you can create Workbook host items programmatically by using the GetVstoObject method of any Workbook object. For more information, see Extending Word Documents and Excel Workbooks in Application-Level Add-ins at Run Time.

Workbook host items cannot be created programmatically in document-level projects. For more information, see Workbook Host Item.

See Also

Reference

Workbook Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace