Changing font for whole sheet changes £ to $
Posted: Wed Aug 27, 2008 3:20 pm
Hello
I have an existing spreadsheet that has 1 sheet which is in MS Sans Serif
I open the spreadsheet and then use the code below to change the font of my sheet for MS Sans Serif to Verdana
objFile.Sheet[0].CalcDimensionsEx;
objFile.Sheet[0].Range.Items[0,0,objFile.Sheet[0].LastCol,objFile.Sheet[0].LastRow].FontName := 'Verdana';
The font change works, however a currency column which originally was in the format £10.34 changes to $10.34
How do I stop this?
I am using a trial version of XLSReadWriteII 4. We currently use XLSReadWriteII but I think we are going to have to upgrade because if I do the same thing in version 2 all of my text columns are replaced with ?????
Cheers
Paul
I have an existing spreadsheet that has 1 sheet which is in MS Sans Serif
I open the spreadsheet and then use the code below to change the font of my sheet for MS Sans Serif to Verdana
objFile.Sheet[0].CalcDimensionsEx;
objFile.Sheet[0].Range.Items[0,0,objFile.Sheet[0].LastCol,objFile.Sheet[0].LastRow].FontName := 'Verdana';
The font change works, however a currency column which originally was in the format £10.34 changes to $10.34
How do I stop this?
I am using a trial version of XLSReadWriteII 4. We currently use XLSReadWriteII but I think we are going to have to upgrade because if I do the same thing in version 2 all of my text columns are replaced with ?????
Cheers
Paul