Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Colors change when impoting and expoting a file
posted

We want to read an Excel template, fill it with data and then write it back to another Excel file. In the generated Excel file the colors differ from the original color . The code basically looks like this:

Workbook w = Workbook.Load("File1.xlsx");
w.Save("File2.xlsx");

 

Some research showed that all the original colors are mapped to a maximum of 46 colors in the target file. Any idea how to fix that?

Thanks Thomas