Hi,
I'm looking for a macro/vba that will delete all the rows in the table (from A11 down) where the row's value in Col B doesn't match any of the values present in cells D2:D8. So in this example the result is that the rows highlighted in orange are deleted and the table height is adjusted accordingly. The table from A11 can vary in it's number of rows down and some of the cells in D2:D8 may be empty (as shown).
Any help would be much appreciated.
Thanks.
I'm looking for a macro/vba that will delete all the rows in the table (from A11 down) where the row's value in Col B doesn't match any of the values present in cells D2:D8. So in this example the result is that the rows highlighted in orange are deleted and the table height is adjusted accordingly. The table from A11 can vary in it's number of rows down and some of the cells in D2:D8 may be empty (as shown).
Any help would be much appreciated.
Thanks.