What part do you have problems with?
Personally, my first step is to always eliminate all Active* mentions and translate them to Perl variables, and also put intermediate parts of a path into variables:
my $workbook = ActiveWorkbook; my $sheet = $workbook->Worksheets('A'); my $sort = $sheet->{AutoFilter}->{Sort}; $sort->{SortFields}->Clear(); $sort->{SortFields}->Add(...); $sort->{Header} = xlYes; ...
In reply to Re: Win32::OLE and Excel Autofilter
by Corion
in thread Win32::OLE and Excel Autofilter
by mdamazon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |