So you want to have a way to convert the column-number to the A..XY-column-naming in Excel? This can be done by a simple algorithm (and without even "looking" at the spreadsheet...)
A way how to do this can be found
here .
(Translating this visual-basic-script to perl is left as an exercise to the reader ;-)
HTH Rata