in reply to Re: Perl OLE Excel Sort By Color
in thread Perl OLE Excel Sort By Color
I am getting the error on RGB, and I don't know what is the replacement for it in Perl. Kindly help.my $sheet1 = $workbook->Worksheets(1)->{Name}; $sheet1=$workbook->Worksheets($sheet1); $sheet1->Activate; my $rows=$sheet1->UsedRange->Rows->{'Count'}; $sheet1->Sort->SortFields->Add($sheet1->Range("A2:A" . $rows),xlSortOn +CellColor, xlAscending, xlSortNormal)->SortOnValue->{Color} = RGB(255 +, 0, 0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl OLE Excel Sort By Color
by hdb (Monsignor) on Jun 02, 2015 at 13:43 UTC | |
|
Re^3: Perl OLE Excel Sort By Color
by Corion (Patriarch) on Jun 02, 2015 at 13:03 UTC |