Chenotjoh Posted April 14, 2010 Share 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 Link to comment Share on other sites More sharing options...
Juvigy Posted April 14, 2010 Share 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. Link to comment Share on other sites More sharing options...
Chenotjoh Posted April 15, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
Juvigy Posted April 15, 2010 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now