Last cell with data in...

D

Darin Kramer

Hi there,

Im trying to apply borders to a series of cells in column P, that starts
in P2, and ends where the last bit of data is in that column. However
there may well be blanks in between...

Ideas?

Thanks!!!

D

*** Sent via Developersdex http://www.developersdex.com ***
 
B

Bob Phillips

Set LastCell = Cells(Rows.Count,"P").End(xlUp)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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