.End(xlRight)).Select Doesn't Work

G

Guest

When I use Range("A5", Range("A5").End(xlRight)).Select, I get an error
"Application-defined or object-defined error". Substituting xlUp or xlDown
works correctly.

Any suggestions?
 
T

Trevor Shuttleworth

I think it need to be:

Range(Range("A5"), Range("A5").End(xlRight)).Select

Regards

Trevor
 

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