Hello everyone!
I've lurked here for a very long time to get help with my VBA coding. Today I can't seem to find the answer to my problem even though I'm sure its staring me in the face.
What I'm trying to do is filter a table of roughly 7000 rows. In each row I have an employee id, name, date and score information. Each employee has roughly 50 entries and I'm trying to write a macro that will filter by each employee and delete all but 10 of their entries. The problem that I'm running into is that when I select the autofilter range and resize my selection by 10 rows (to select everything I need to delete), it is resizing by 10 rows rather than 10 visible rows, thus leaving everything (even the 10 rows I want to save) selected.
Thank you for your help!
Bookmarks