find/search

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to record a command in a macro that finds the next blank row in a database. Any ideas?
 
Sub nextblankrow()
x = ActiveCell.End(xlDown).row+1 'for row number
'x = ActiveCell.End(xlDown).Offset(1).Address 'for address
MsgBox x
End Sub

--
Don Guillett
SalesAid Software
(e-mail address removed)
Juli said:
I would like to record a command in a macro that finds the next blank row
in a database. Any ideas?
 
Why do you wan to select??? If to copy, etc there is USUALLY no reason to
select anything.

ActiveCell.End(xlDown).row+1.select
 

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