Hey folks,
I deal with the autofilter-method in VBA for the first time and it worked quite well as long as I gave it single values as a criteria. Now I want to give it an array. First I fill the array with some weekdaynumber which works great.
The array is then wochentage(0 To 2) and contains the values (1, 2, 3). All the values exist in the corresponding column, that I want to filter (I ensure that by some more code, that I deleted for better overview).
![]()
Please Login or Register to view this content.
The code runs, but just the entries with "3" are selected (see attached screenshot).
Unbenannt.png
What do I do wrong?
Thanks for you help!
Klaster
Bookmarks