Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50162

Macro to Delete Multiple Values

$
0
0
I am sending out a mailing to leads that I have in my excel database. The problem is, I do not want to send them out to certain cities, as they are too far away. I have a list of cities that I want removed from the spreadsheet that I have. Instead of sorting and deleting them manually, I would like to setup an macro that deletes the cities (values) and the entire row out when I open a new spreadsheet each month.

I have attached a sample spreadsheet.

For example: ( I would like to keep the cities: Topeka, Shawnee and Kansas City, but delete the rows that have: Martin City and Wichita).

Are there any macros out there that can do this?

Any help would be appreciated!
Attached Files

Viewing all articles
Browse latest Browse all 50162

Trending Articles