Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Identifying the active cell

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

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Identifying the active cell

Hi Pienpeas,

Dim rw as long, col as long

rw = ActiveCell.Row
col = ActiveCell.Column

---
Regards,
Norman



"Pienpeas " wrote in message
...
Hi,

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

Thanks in advance


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Identifying the active cell

Hi,

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

regatds,
Don

"Pienpeas " wrote in message
...
Hi,

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

Thanks in advance


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Row select mode to highlight active row of active cell Bart Fay[_2_] Excel Discussion (Misc queries) 0 May 11th 10 09:34 PM
referring to formula in a non active cell from active cell nickname Excel Discussion (Misc queries) 1 June 21st 07 12:11 PM
Identifying a cell/value in a table Ian Murdoch Excel Discussion (Misc queries) 5 August 1st 06 05:26 AM
Identifying cursor in active spreedsheet C Ambrose Excel Worksheet Functions 9 May 24th 05 11:36 PM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM


All times are GMT +1. The time now is 11:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"