last entry from selected area

  • Thread starter Thread starter SURESH
  • Start date Start date
S

SURESH

Dear friends..

i want your help regarding this subject.. can anyone help me?

actually, i have a big database in excel.. dont want to go last and first...
i want to know in certain cell (B1) which is the last entry had done in A:A.

thanks in advance


suresh tp
 
Hi Suresh,

Your question is not clear but perhaps try::

'=========>>
Public Sub aTester()
Range("B1").Value = Cells(Rows.Count, "A"). _
End(xlUp).Value
End Sub

'<<=========
 

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