Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code:
dim a as string a = ActiveCell.name MsgBox (a) I want to get the name of a cell that I have given it. What I get is: =sheet1!$E$11 instead of the name I have given it. How do I correct this? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
msgbox Activecell.Name.Name
There is a bit of an explanation that goes this that but suffice it to say this work... -- HTH... Jim Thomlinson "ranswert" wrote: I have the following code: dim a as string a = ActiveCell.name MsgBox (a) I want to get the name of a cell that I have given it. What I get is: =sheet1!$E$11 instead of the name I have given it. How do I correct this? Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
worked great
Thank You "Jim Thomlinson" wrote: msgbox Activecell.Name.Name There is a bit of an explanation that goes this that but suffice it to say this work... -- HTH... Jim Thomlinson "ranswert" wrote: I have the following code: dim a as string a = ActiveCell.name MsgBox (a) I want to get the name of a cell that I have given it. What I get is: =sheet1!$E$11 instead of the name I have given it. How do I correct this? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options | Excel Discussion (Misc queries) | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing | Excel Discussion (Misc queries) | |||
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 | Excel Worksheet Functions | |||
NEED VBA TO SELECT A CELL; NOTE THE CELL VALUE;COPYADJ CELL;FIND CELL VALUE IN A RANGE AND SO ON | Excel Programming | |||
How to create/run "cell A equals Cell B put Cell C info in Cell D | Excel Discussion (Misc queries) |