ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   cell address (https://www.excelbanter.com/excel-programming/345502-cell-address.html)

Jim[_60_]

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



Leith Ross[_277_]

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


Dave Peterson

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

Tom Ogilvy

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




Jim[_60_]

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





All times are GMT +1. The time now is 04:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com