Delete entire rows by conditions

Panoos64

Well-known Member
Joined
Mar 1, 2014
Messages
890
Hi to all of you!
Kindly require to provide me support for a VBA code so that to run through columns "O", "P", 'Q" and where the rows are blank or "0" should delete entire rows. Therefore that, the rows "1" - "7" are headings and the code should run from row "8" till rows down. Thank you all in advance. Base into all of you, i overcome my tasks in a short time and my figures are accurate.
 
Re: Delete entire rows by contitions

Thank u Peter, the code works perfect. regarding your 2nd comment, therefore the below:
- spreadsheet doesn't contains any text values in mentioned columns
- in case that the rows contains any numbers, positive or negative the code should not delete them.
I would like to thank you once again for your so nice work and your continued support.
Hv a great day!
 
Last edited:
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Re: Delete entire rows by contitions

Thank u Dante! it works nicely and based to my data. Thanks for your time spent for my project. Hv a lovely day!
 
Upvote 0
Re: Delete entire rows by contitions

Many thanks Trebor, it works correct too, thank u once again that you spent time for my project. Hv a nice day!
 
Upvote 0
Re: Delete entire rows by contitions

Thank u Dante! it works nicely and based to my data. Thanks for your time spent for my project. Hv a lovely day!

I'm glad to helo you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,753
Messages
6,174,307
Members
452,554
Latest member
Louis1225

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