Go To Last Cell +1 Macro

D

Dennis

I would like to have a macro that selects the first blank cell after the last
entry in a column. (But don't include a formatted cell as an entry, just
text,numbers,etc). The column is B. I've fumbled for 2 days on this one.

TIA,
Dennis
*********************
 
J

J.E. McGimpsey

One way:

Public Sub GoToEndOfColumnB()
Range("B" & Rows.Count).End(xlUp).Offset(1, 0).Select
End Sub
 
J

J.E. McGimpsey

Don't assume that my way is the only way - there are innumerable
ways to accomplish the same thing, some more efficient than others...
 
E

Earl Kiosterud

Dennis,

Here's another. It stops at the first blank cell, even if there's stuff
after it. A little different than J.E.'s, which selects the cell after the
last non-empty cell of the column. Fun, huh?

Range("B2").End(xlDown).Offset(1, 0).Select

Earl Kiosterud
Mvpearl omitthisword ar verizon period net.
 

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

Top