Application-defined or object defined error

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

Guest

Hi, I get the above message on the following line, Im clearly doing
something wrong:

Range("A & (cells(1,1).End(xlDown).Row + 1):aj50").Select
 
Try:

Range("A" & Cells(1, 1).End(xlDown).Row + 1 & ":AJ50").Select

or, alternatively

Range(Cells(1, 1).End(xlDown).Offset(1, 0), Cells(50, 36)).Select

or

Range(Range("A1").End(xlDown)(2, 1), Range("AJ50")).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