Hi, I use thisd code for columns:
$lastColumn = 90;
for ($i=0;$i<$lastColumn;$i++) {
Now you can refer to columns with the $column variable
$lastColumn = 90;
for ($i=0;$i<$lastColumn;$i++) {
$column = chr(65+$i);
}Now you can refer to columns with the $column variable