Delete entire rows by conditions

Panoos64

Well-known Member
Joined
Mar 1, 2014
Messages
882
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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
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,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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