Worksheet Constructor (2007 System)

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
'Usage
Dim instance As New Worksheet()
public Worksheet()
public:
Worksheet()
public function Worksheet()

Remarks

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

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

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

.NET Framework Security

See Also

Reference

Worksheet Class

Worksheet Members

Worksheet Overload

Microsoft.Office.Tools.Excel Namespace