Ok, I think I see it, if you look at the example vba code in the help file for sort. they give a reference to the sort cell, not just the cell location i.e.
I haven't tested this .. but this is my best guess.$sheet->Rows("5:35")->Sort($sheet->Range("F5"));
In reply to Re: Sorting spread sheets in Perl via OLE Excel
by Grygonos
in thread Sorting spread sheets in Perl via OLE Excel
by Grayarea
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |