Identifying the active cell

  • Thread starter Thread starter Pienpeas
  • Start date Start date
P

Pienpeas

Hi,

I need to find the location of the active cell by column and row. i
i(2, 3) I want to run a loop from the active cell onwards, the cell
am starting from will always be different. I know i can use th
activecell.offset(?, ?). But i only really want to be able to find ou
what the active cell row and column are.

Thanks in advanc
 
Hi Pienpeas,

Dim rw as long, col as long

rw = ActiveCell.Row
col = ActiveCell.Column
 
Hi,

Dim Rw, Col
Rw = ActiveCell.Row
Col = ActiveCell.Column

regatds,
Don
 

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