Macro That Deletes Rows Based On Cell Values

bruntonomo

Board Regular
Joined
Jul 29, 2018
Messages
67
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have looked at some previous threads on the message board that are similar to mine, but my particular case has a bit of a hang up that I would like to post a thread for.

I would like to create a macro to run that will delete rows that have particular names of people in the rows. Ideally I would like to be able to create a list of names in the macro so that it can just remove all desired names each time I run this report. Data is generated by a system that separates the first and last names which makes things a bit more complicated. This particular point is why I'm asking on a separate thread.

Attached is a screen shot of a sample report that I would be using the macro on. Can someone please help with this?
 

Attachments

  • ReportFormat.PNG
    ReportFormat.PNG
    14.7 KB · Views: 14
So,you will need to start new thread with your requirement
 
Upvote 0

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,213,546
Messages
6,114,253
Members
448,556
Latest member
peterhess2002

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top