Page 1 of 1

Maximum number of fonts was exceeded

Posted: Thu Jan 03, 2008 1:53 pm
by yoxler
Hi,

I'm trying to set fonts in my document, but when opening the excel document this error pops:
"some text formatting may have changed in this file because the maximum number of fonts was exceeded. it may help to close other documents and try again."

The code I'm using is (it's in a loop):
aSheetHoliday.Cell[j, HolidayPosition].FontStyle := [xfsBold];

I've tried something like:
XLS.Sheets[0].ApplyFormat.Font(2,12,8,14,Fnt);
earlier but that hade the same result, ...fonts was exceeded.

I'm using the .NET version if that has anything to do with it.

Posted: Wed Jan 09, 2008 10:44 am
by larsa
Hello

Yes, this problem only seems to exist in the .NET version. We will check it.


Lars Arvidsson

Posted: Thu Jan 10, 2008 7:44 am
by yoxler
A ok, thats to bad. If you'll solve it, please post back so I can get a new version.