Set width of multiple columns with 1 command

Topics: User Forum
Jun 5, 2014 at 9:46 AM
To get columns from A to C autosized I've tried:
$objWorksheet -> getColumnDimension('A:C') -> setAutoSize(true);
but it doesn't work.

So, am I forced to do a "foreach" cycle or 3 single "setAutoSize"?