Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy an Excel color scheme from one workbook to another

Tags:

excel

vba

Sometimes when I copy and paste from one workbook to another, the destination color scheme looks very odd. How can I copy the color scheme from one workbook to another

like image 217
gordon613 Avatar asked Oct 11 '25 16:10

gordon613


1 Answers

Open VBA and type the following (changing the names of the workbook as appropriate)

workbooks("DestinationWorkbook.xlsx").Colors=workbooks("SourceWorkbook.xlsx").Colors
like image 174
gordon613 Avatar answered Oct 14 '25 05:10

gordon613