reference to cell left of a cell...

J

Jan

Hi,

A simple question but I can't get it working:

myRange is a cell and I am interesting in the cells at the left and right of
this cell.

' the following refers to the cell at the right:
myRange.Range("B1").Value

Now what is the easiest way to refer to the right cell..?

Jan
 
D

donna.gough

Jan,
Presuming B1 is the activecell
ActiveCell.Offset(0,1).Selects - Selects cell to right
ActiveCell.Offset(0,-1).Selects - Selects cell to left
.....hope thats right!
 

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