Your suggestion seems to be correct. since I am selecting the whole column, A1 seems wrong.
I changed the code to $worksheet->Columns("A"); but it crashed again. This time the error message was
Win32::OLE(0.1502) error 0x80020009: "Exception occurred" in PROPERTYPUT "ColumnWidth" at ole.pl line 10 quitting Microsoft Excel
regards,In reply to Re: Re: How to resize a column in excel with Win32::OLE
by abhishes
in thread How to resize a column in excel with Win32::OLE
by abhishes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |