May I offer a slightly more general alternative to your sub colIdToString:
sub colIdToString { my $col = shift; my $column = ""; while( $col ) { my $remainder = ($col-1) % 26 + 1; $column = chr( $remainder + 64 ).$column; $col -= $remainder; $col /= 26; } return $column; }
In reply to Re^3: Perl OLE Excel Sort By Color
by hdb
in thread Perl OLE Excel Sort By Color
by martinslmn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |