Problem with format a single excel column with OLE automation using Delphi
- by Snackmoore
Dear All,
I have piece of code which I use to format a range of cells in Excel. It works fine in Excel 2007 but when the range is only 1 column wide and it is Excel 2003 instead of 2007, I'll get an error saying the I am assigning invalid value for a border's line style.
** valuables such as "xlInsideHorizontal", I have declared them as CONSTANT…