Chenotjoh 0 Posted April 14, 2010 Hi I'm writing a small script to use with an excel table where i would like to use the advanced filtering possibilities. I've understood that not everything in VBA can be used in AutoIT but that this must be translated. So my question is can anyone help me with this phrase in VBA - Columns("I:I").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Range("J2"), Unique:=True I've tried to translate as follows: $oExcel.ActiveSheet.Columns("I:I").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Range("J2"), Unique:=True But of course "no goal" Many thanks in advance Share this post Link to post Share on other sites
Juvigy 49 Posted April 14, 2010 $test=$oExcel.ActiveSheet.Range("J:J") $test2=$oExcel.Application.ActiveSheet.Range("I:I").AdvancedFilter(2,Default,$test,true) Something like this works for me. Share this post Link to post Share on other sites
Chenotjoh 0 Posted April 15, 2010 Wonderfull, Thanks Juvigy Question: Is there a kind of doc where I can learn to translate VBA to AutoIt? Best regards Share this post Link to post Share on other sites
Juvigy 49 Posted April 15, 2010 Dont know if there is a doc but there is converter somewhere in the example scripts and you can always check on the MDSN there is a complete developer reference. Share this post Link to post Share on other sites