I´m new to the community. I wanted to know if there´s a script to filter data in a specific column right at the import? I want to filter for x=1,65 in column D.
You could put the following script into the Worksheet Script to run after import or as a script in an ASCII Import Wizard filter:
wks.col4.FILTER = 1; // Turn on filter for column 4 wks.col4.FILTER$ = "x=1.65"; // Set the test expression wks.runfilter(); // execute all filters of active sheet
And how can I now delete the rows, where no 1,65 is? I have six columns and between each 1,65 are 28 rows which have to be deleted (in each column). The problem is: there are nearly 3000 rows. Withe the script:
range aa=1[3:31]; range ab=1[33:61]; ... etc.
del aa; del ab; ..etc.
am I getting nowhere.
The first row has to be deleted and after that everything but the rows where 1,65 is in have to be deleted and that for each column.