Share via


Workbook.GetPrimaryControl Method (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
Protected Function GetPrimaryControl As Workbook
'Usage
Dim returnValue As Workbook 

returnValue = Me.GetPrimaryControl()
protected Workbook GetPrimaryControl()
protected:
Workbook^ GetPrimaryControl()
protected function GetPrimaryControl() : Workbook

Return Value

Type: Workbook

.NET Framework Security

See Also

Reference

Workbook Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace