Page 1 of 1

Formatting Columns

Posted: Mon Jan 13, 2014 6:35 am
by richard.moore
I have just "upgraded" from v4 to v5 and some of the formatting is now not happening.

We format a number of columns at the start of our process.
Loop through the data and assign values to cells.
While looping we track certain values as a trigger for creating subtotal rows which we format on a cell basis.

The formatting of the subtotal rows works fine but the formatting of all other column values does not work.

This is how we are formatting the columns
XLS.CmdFormat.BeginEdit(XLS[SheetNo]);
XLS.CmdFormat.Number.Format := Format;
XLS.CmdFormat.ApplyCols(ColumnNo, ColumnNo);

Any ideas?

Re: Formatting Columns

Posted: Wed Jan 15, 2014 1:07 pm
by larsa
Hello

I can't reproduce this. Tested with update 5.20.11
It the error persists, please provide a complete sample that reproduces the error.