Replacing a color in the palette

We are trying to swap a color on the palette at position 55, but as soon as we modify the color with

workbook.ChangePalette(Color.FromArgb(84, 48, 26), 55);
everywhere we used the previous color, it turns to white as opposed to use the new color.
If I modify the color manually from excel, the color changes fine.
How do we acheave this from the code?
Thanks,
Alex.

Hi,

Thanks for your inquiry.

Well, I don't find the problem you have mentioned, if I changed a color in the standard palette (on some indexed position), the previous color is replaced not only in the palette but also in the excel sheet.

Which version of the component you are using? Please try the attached version and let us know if it works fine.

If you still find the issue, kindly paste your code and post your generated file here, we will check your issue soon.

Thank you.

The new version worked. I was using 4.5.0.10 before.

Thanks,

Alex.

Can you post a 64 bit compatible version? The dll you posted is 32 bit only and I need it to work on both 32 bit and 64 bit machines.

Thanks.

Hi,

Thank you for considering Aspose.

Please find the attached 64bit build of Aspose.Cells as per your requirement.

Thank You & Best Regards,

Similar issue there. But colour changes to purpleā€¦

Hi,

Thank you for considering Aspose.

Please see the following post for the reply to your issue,

https://forum.aspose.com/t/74820

Thank You & Best Regards,