Workbook.GetPrimaryControl Method (2003 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 (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Protected Overridable Function GetPrimaryControl As Workbook
'Usage
Dim returnValue As Workbook

returnValue = Me.GetPrimaryControl()
protected virtual Workbook GetPrimaryControl()

Return Value

Type: Microsoft.Office.Interop.Excel.Workbook

Permissions

See Also

Reference

Workbook Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace