Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default command to return the row number or cell number in excel?

Can anyone tell me the code to return the row and column of the cel
where i am in for VBA

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default command to return the row number or cell number in excel?

Hi Desmondleow,

Can anyone tell me the code to return the row and column of the cell
where i am in for VBA?


Msgbox "Row number is:" & Activecell.Row
Msgbox "Column number is:" & Activecell.Column

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.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
How do I get a number return for each cell keystroke in Excel? rockinst Excel Discussion (Misc queries) 1 March 10th 08 10:00 PM
Return total number of YEARS & MONTHS in a cell Montrose guy Excel Discussion (Misc queries) 3 November 18th 07 02:29 PM
Assigning cell values to return a number whatzzup Excel Discussion (Misc queries) 1 March 20th 06 04:07 PM
Assigning cell values to return a number wdjsxj Excel Discussion (Misc queries) 0 March 20th 06 03:55 PM
How to return a dollar value for a part number entered in a cell free2bjmg Excel Worksheet Functions 3 July 24th 05 01:26 AM


All times are GMT +1. The time now is 11:51 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"