rkol297
Board Regular
- Joined
- Nov 12, 2010
- Messages
- 131
- Office Version
- 365
- 2019
- Platform
- Windows
Hello,
I need code that will look at each of these columns in a single row: C,D,E,F,G,H And within those columns in the same row look for an array of values for example: X,Y,Z,A,B,C...etc. If any of the values X,Y,Z,A,B,C...etc are present in any of the columns C,D,E,F,G,H do not delete the row. But if NONE of the values X,Y,Z,A,B,C...etc are present in C,D,E,F,G,H then delete entire row this code will need to find the last row used and cycle through all active rows. Any help would be greatly appreciated.
Thank you in advance!
I need code that will look at each of these columns in a single row: C,D,E,F,G,H And within those columns in the same row look for an array of values for example: X,Y,Z,A,B,C...etc. If any of the values X,Y,Z,A,B,C...etc are present in any of the columns C,D,E,F,G,H do not delete the row. But if NONE of the values X,Y,Z,A,B,C...etc are present in C,D,E,F,G,H then delete entire row this code will need to find the last row used and cycle through all active rows. Any help would be greatly appreciated.
Thank you in advance!