Grayarea has asked for the wisdom of the Perl Monks concerning the following question:
my $start = $offset[$k] + $vert_offset; my $end = $offset[$k + 1] + ($vert_offset - 2); # Sort data ready for charting $sheet4->Rows("$start:$end")->Sort("F5");
# sort rows Rows("5:58").Select Selection.Sort Key1:=Range("F5"), Order1:=2, Header:=2, OrderCustom:=1, MatchCase:=False, Orientation:=1, DataOption1:=0
20040928 Janitored by Corion: Added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sorting spread sheets in Perl via OLE Excel
by Grygonos (Chaplain) on Sep 28, 2004 at 17:20 UTC | |
by Grayarea (Initiate) on Sep 29, 2004 at 09:24 UTC | |
by Anonymous Monk on Oct 18, 2017 at 12:06 UTC | |
by 1nickt (Canon) on Oct 18, 2017 at 12:11 UTC | |
by Anonymous Monk on Oct 18, 2017 at 12:40 UTC |