_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
Filename
Type: System.StringName of the theme.