Macro That Deletes Rows Based On Cell Values

bruntonomo

Board Regular
Joined
Jul 29, 2018
Messages
52
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: 12

mohadin

Well-known Member
Joined
Mar 22, 2015
Messages
1,091
Office Version
  1. 2013
Platform
  1. Windows
So,you will need to start new thread with your requirement
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Watch MrExcel Video

Forum statistics

Threads
1,128,159
Messages
5,629,038
Members
416,362
Latest member
Cocito

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
Top