select row if cell in column h is NOT blank

rburnet4

New Member
Joined
Dec 23, 2009
Messages
14
I'm trying to come up with a marco solution that will select rows if the cell in column H is NOT BLANK.

From there I think it will be rather easy to cut these rows and paste them in another workbook (that's filename does not change) at the end of the worksheet (in the first row that is completely blank).

Both workbooks only have one worksheet in them. Let me know what you think.
Thanks for all your help!!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
This is perfect. One thing I did not think of though... How do I make sure the Macro does not pick up the first two rows (ie headers)?
Code:
For r = 1 to nr
...
Macro starts from first row
If you want to start second or third or...
Code:
For r = 2 to nr
or
For r = 3 to nr
or...
 
Upvote 0

Forum statistics

Threads
1,216,756
Messages
6,132,534
Members
449,733
Latest member
Nameless_

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