Workbook Constructor (String, String)

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

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Sub New ( _
    cookie As String, _
    identifier As String _
)
'Usage
Dim cookie As String
Dim identifier As String

Dim instance As New Workbook(cookie, _
    identifier)
public Workbook(
    string cookie,
    string identifier
)

Parameters

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 Microsoft.Office.Interop.Excel.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.

.NET Framework Security

See Also

Reference

Workbook Class

Workbook Members

Workbook Overload

Microsoft.Office.Tools.Excel Namespace