ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cell name (https://www.excelbanter.com/excel-programming/340183-cell-name.html)

Kevin

Cell name
 
If I name cell A1 "blah".
and then select that cell.
I need a macro to make activecell.offset(1,0)=activell.name.

When I do it like this it returns the range name not the name I assigned to
A1.

Any suggestions?

K Dales[_2_]

Cell name
 
ActiveCell.Name.Name
(yeah, weird but that's the way it goes!)
--
- K Dales


"Kevin" wrote:

If I name cell A1 "blah".
and then select that cell.
I need a macro to make activecell.offset(1,0)=activell.name.

When I do it like this it returns the range name not the name I assigned to
A1.

Any suggestions?


Kevin

Cell name
 
ooooooooooooohhhhhhhhh. Man that was driving me crazy..
Thanks so much for the help, it works great.

"K Dales" wrote:

ActiveCell.Name.Name
(yeah, weird but that's the way it goes!)
--
- K Dales


"Kevin" wrote:

If I name cell A1 "blah".
and then select that cell.
I need a macro to make activecell.offset(1,0)=activell.name.

When I do it like this it returns the range name not the name I assigned to
A1.

Any suggestions?



All times are GMT +1. The time now is 01:46 AM.

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