ApplyTheme(String) Method
Applies the specified theme to the current workbook.
'Declaration
Overloads Function ApplyTheme( _
Optional ByVal As String _
) As Boolean
'Usage
Dim instance As IWorkbook
Dim filename As String
Dim value As Boolean
value = instance.ApplyTheme(filename)
Parameters
- filename
- A string value indicates the theme file to apply.
Return Value
true
if the theme is loaded and applied successfully; otherwise, false
.