Offset down on a filtered list

vjay883

New Member
Joined
May 2, 2013
Messages
1
Hi,

What I am trying to do is select a column and filtering for blanks.

I want to offset down one - but when I use the below code it doesnt ignore the filtered rows.
ActiveCell.Offset(1,0).SelectI need the code to ignore all filtered cells and select the first empty cell. Thanks in advance. V</PRE>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Welcome to the MrExcel board!

We don't know what/where you have on your sheet or what the ActiveCell is but see if this does something like what you want.
Code:
With Intersect(ActiveSheet.AutoFilter.Range, ActiveCell.EntireColumn)
  .Offset(.Rows.Count).Resize(1, 1).Select
End With
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,331
Members
452,636
Latest member
laura12345

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