Hello, novice in the VBA world and trying to put together some code that allows me to keep only certain rows in my data that meet certain criteria.
So I am pulling invoices from a program and the raw data gives me a bunch of unnecessary lines of information.
The rows I want to keep are the following;
If the cell in column A contains the text string "BIG"
I also want to keep the row following the row with the text string "BIG"
If the cell in column A contains the text string "IT1"
If the cell in column A contains the text string "N1" and the adjacent cell in column B contains the text string "BY"
All other rows can be deleted.
I need to be able to select all of the data in 2 or 3 invoices at once and run the code on my selected data only.
Thanks in advance for your help!!
So I am pulling invoices from a program and the raw data gives me a bunch of unnecessary lines of information.
The rows I want to keep are the following;
If the cell in column A contains the text string "BIG"
I also want to keep the row following the row with the text string "BIG"
If the cell in column A contains the text string "IT1"
If the cell in column A contains the text string "N1" and the adjacent cell in column B contains the text string "BY"
All other rows can be deleted.
I need to be able to select all of the data in 2 or 3 invoices at once and run the code on my selected data only.
Thanks in advance for your help!!