Copy Theme from one Workbook to Another

Copy Theme from one Workbook to Another

The following sample code shows how to copy theme from one workbook into another workbook. The code is useful to apply built-in or custom themes. Just create your desired theme (it could be a built-in theme or you may customize it) in your template file using Microsoft Excel and then copy it to your source workbook using the following code.

Sample Code