_Workbook.ApplyTheme Method

Applies the specified theme to the current workbook.

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

Syntax

'Declaration
Sub ApplyTheme ( _
    Filename As String _
)
'Usage
Dim instance As _Workbook
Dim Filename As String

instance.ApplyTheme(Filename)
void ApplyTheme(
    string Filename
)

Parameters

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace