Hello all,
I am new to the forum as well as VBA, and I appreciate in advance any help I receive. I have a spreadsheet that gets data dumped in from another program. I need to delete every row in which column C has the text "TN VEN" or "TN QUAR". I have a data validation list that lets the user select which macro they want to run, and I have a worksheet change event that calls the macro when selected in my data validation list.
I have added a confirmation box, but it keeps repeating for each instance found. For instance, if there are four instances in which column C contains "TN QUAR", I have to click Yes five times before the rows are deleted. How can I make it so that I only have to press Yes once? Here is my code:
Bookmarks