Share via


IStyles.Add Method

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function Add ( _
    Name As String, _
    BasedOn As Object _
) As Style
'Usage
Dim instance As IStyles
Dim Name As String
Dim BasedOn As Object
Dim returnValue As Style

returnValue = instance.Add(Name, BasedOn)
Style Add(
    string Name,
    Object BasedOn
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Style

See Also

Reference

IStyles Interface

IStyles Members

Microsoft.Office.Interop.Excel Namespace