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

Is there a function I can use to display to the user the address
corresponding to the cells coordinate of row,column? for example if I am
working with a cell at 2,3 is there a functio to convert it to address c2 ?

thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default cell address

msgbox cells(2,3).address(0,0)

If I understand what you mean.

Jim wrote:

Is there a function I can use to display to the user the address
corresponding to the cells coordinate of row,column? for example if I am
working with a cell at 2,3 is there a functio to convert it to address c2 ?

thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default cell address

thanks, that was it.

"Dave Peterson" wrote in message
...
msgbox cells(2,3).address(0,0)

If I understand what you mean.

Jim wrote:

Is there a function I can use to display to the user the address
corresponding to the cells coordinate of row,column? for example if I am
working with a cell at 2,3 is there a functio to convert it to address c2
?

thanks


--

Dave Peterson



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default cell address


Hello Jim,

Tp return the cell address as a string in "A1" style...

Addx = Cells(2, 3).Address

Addx = "C2"

Sincerely,
Leith Ros

--
Leith Ros
-----------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...fo&userid=1846
View this thread: http://www.excelforum.com/showthread.php?threadid=48473

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default cell address

Just a heads up, but that would produce $C$2

you need Cells(2,3).address(0,0) to get just C2.

--
Regards,
Tom Ogilvy

"Leith Ross" wrote
in message ...

Hello Jim,

Tp return the cell address as a string in "A1" style...

Addx = Cells(2, 3).Address

Addx = "C2"

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile:

http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=484733





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
=HYPERLINK("#"&CELL("address", ADDRESS(MATCH(VALUE(B3),QuoteNotes, sarah Excel Worksheet Functions 2 February 17th 09 02:59 PM
=HYPERLINK("#"&CELL("address", ADDRESS(MATCH(VALUE(B3),Range ... ? sarah Excel Worksheet Functions 0 February 17th 09 02:06 PM
Return cell address of a cell based on contents of cell. Danny Excel Worksheet Functions 4 November 15th 08 03:11 AM
find last cell in range with data, display cell address sevi61 Excel Worksheet Functions 14 October 29th 07 08:36 PM
store cell contents and cell address for comparsion & suming Jim Whelchel Excel Programming 1 November 24th 04 04:03 PM


All times are GMT +1. The time now is 01:53 PM.

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"