refer to another cell in the same row with the active cell

  • Thread starter Thread starter shiro
  • Start date Start date
S

shiro

Hi All,
Have a good day.

How to refer to the cell in column A,column B and column E
which in the same row with the active cell?

Hopw somebody like to help.
 
Hi

MsgBox Cells(ActiveCell.Row, 1)

This would give column a of the activerow so change the 1 to a 2 for B and 5
for E.

Mike
 

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