Up 1 Row

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

Guest

Hey all...

Thanks for all the help guys! :)

Anyway, is there anyway to xlDown then up 1 row? Just Curious.

Thanks.

Tim
 
hi.
use the offset command
assuming A1 has ten rows of data and you want row 9.
range("a1").end(xldown).offset(-1, 0).select
where Offset(rows,columns)
rows - negative numbers = up & positive numbers = down
columns - negative = to left & positive = to right
0 = stay in same row/column.
In the example above go to the bottom of data in column A
then go up 1 row and stay in the same column. (-1, 0)
 

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