Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell Row and Column address

In VBA code behind a button, how can I determine the
active cell row and column address?

TIA,
Ron

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default Cell Row and Column address

Assuming active cell is B12

Activecell.address(0,0) will return cell address : B12
Activecell.Row will return row num : 12
Activecell.Column will return column num: 2

HTH
--
AP

"Ronald Roberts" a écrit dans le message de news:
...
In VBA code behind a button, how can I determine the
active cell row and column address?

TIA,
Ron



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell Row and Column address

Ardus Petus wrote:

Assuming active cell is B12

Activecell.address(0,0) will return cell address : B12
Activecell.Row will return row num : 12
Activecell.Column will return column num: 2

HTH
--
AP

"Ronald Roberts" a écrit dans le message de news:
...

In VBA code behind a button, how can I determine the
active cell row and column address?

TIA,
Ron




Thanks

Ron

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Cell Row and Column address

ActiveCell.Row
ActiveCell.Column
ActiveCell.Address(0,0)

--
Regards,
Tom Ogilvy


"Ronald Roberts" wrote:

In VBA code behind a button, how can I determine the
active cell row and column address?

TIA,
Ron


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
Find cell address of last cell in a column with text mike in texas Excel Worksheet Functions 8 October 4th 08 05:41 AM
How to determine the column letter from Cell address Jean Excel Worksheet Functions 6 July 24th 06 03:04 AM
If Statment - Active Cell Column Address Richard Excel Discussion (Misc queries) 2 June 9th 06 11:22 PM
Can the column index in a cell address be made variable? cyberdude Excel Programming 2 November 20th 05 03:39 AM
Can the column index in a cell address be made variable? cyberdude Excel Discussion (Misc queries) 1 November 20th 05 02:47 AM


All times are GMT +1. The time now is 09:27 AM.

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

About Us

"It's about Microsoft Excel"