Hi Orange,
Thanks for the fast reply and the helpfull Link. It is kind of what I want to do, although I dont think th guy in that Thread was using CSV, since that code is not working for me.
Yeah, sorry, I am going to try to express my need as best as possible:
I Have a table like this:
Code:
ID PersonalNr Perskat Joined
1 800000 2020 22.01.1990
2 800004 8080 23.10.1985
3 865145 4040 24.05.2000
4 874563 3435 30.1.2014
It gets imported like that. Then I have to set a filte (or a couple of filters): I only need the rows where perskat<>8080, Joined < 01.01.2000 and 874563>PersonalNr>770000, as an example.
The output would look somewhat like this:
Code:
ID PersonalNr Perskat Joined
1 800000 2020 22.01.1990
4 874563 3435 30.1.2014
I hope i was able to explain it well.
It is quite easy to set these filters, but not dynamically with VBA, which is what i want so I dont have to filter myself everytime.
Thanks again
Regards
Alex