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
- Name
Type: System.String
- BasedOn
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.Style