IToolbars.Add Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Name As Object _
) As Toolbar
'Usage
Dim instance As IToolbars
Dim Name As Object
Dim returnValue As Toolbar
returnValue = instance.Add(Name)
Toolbar Add(
Object Name
)
Parameters
- Name
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.Toolbar