find next NOT empty cell in column

  • Thread starter Thread starter Max Bialystock
  • Start date Start date
Max,

A lot depends on what you consider "Blank"

With the activecell in column A:

If Intersect(ActiveCell.Offset(1, 0), _
ActiveCell.EntireColumn.SpecialCells(xlCellTypeBlanks)) Is Nothing Then
ActiveCell.Offset(1, 0).Select
Else
If ActiveCell.End(xlDown).Row <> Rows.Count Then
ActiveCell.End(xlDown).Select
End If
End If

This can be re-written for use with a range object so that selecting a cell isn't needed...

HTH,
Bernie
MS Excel MVP
 
Bernie,

I just tested it and that's exactly what I needed.
I can't thank you enough for your help.

Max
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top