Selection using relative cell reference

E

Emma Aumack

Hi All,

I am in the active cell, say B189, I want to select the cell to the right
(C189) using relative cell reference. Can someone help me?

Thanks
 
G

Gord Dibben

ActiveCell.Offset(0, 1).Select

That is offset(row, column)

Note: you don't generally have to select a cell to act upon it.

ActiveCell.Offset(0, 1).Value = "Hello" would place the word Hello in the
cell without selecting the cell.


Gord Dibben MS Excel MVP
 

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