Hi,
I have an Excel template that I fill using the WorkbookDesigner. The template has coloured worksheet tabs. After filling the template the colours of the worksheets tabs are gone.
Any idea what might cause this?
Thanks,
Jeffry
Hi Jeffry,
I opened a template file with colored tabs and saved it into a new file. It works fine.
Which version of Aspose.Cells are you using? Could you please post a simple project to show your problem? Thank you.
WorkbookDesigner wb = new WorkbookDesigner();
wb.Open(@"C:\test\colortest\colortest.xls");
double exchangeRate = 1.23;
wb.SetDataSource("VariableName", (decimal)exchangeRate);
wb.Process();
wb.Save(@"C:\test\colortest\colortest1.xls");
We have found and fixed this issue. Please try this attached fix.
Nope sorry, still the same.
Please change your code to:
wb.Save(@"d:\test\colortest1.xls", FileFormatType.ExcelXP);
Default format is Excel2000 which doesn't support tab color feature.