ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cell Naming and Formula bar Display (https://www.excelbanter.com/excel-programming/308271-cell-naming-formula-bar-display.html)

Adrian[_7_]

Cell Naming and Formula bar Display
 
Hi,
I have name a cell using the same VBA command as follows in 2
different
spreadsheets submitted by 2 different colleagues :


Spreadsheet A
*************
VBA Command Executed : Range("E4").Name = "Overall_CashBegining"

Cell Formula in E5 : "=E4"

Formula Bar Display when cell E5 is selected: "=E4"



Spreadsheet B
***********
VBA Command Executed : Range("E4").Name = "Overall_CashBegining"

Cell Formula in E5 : "=E4"

Formula Bar Display when cell E5 is selected: "=Overall_Cash Begining"


Why is there a different display in the formula bar despite the fact that
other
conditions are the same... only the spreadsheet were submitted by different
people. Is there any options to turn on/off cell naming in formula bar
display ?


Thanks...
--
Regards,
Adrian



Bob Phillips[_6_]

Cell Naming and Formula bar Display
 
Could it be that the cell also has a name of Overall_Cash Begining (defined
previously)?

Check in InsertNameDefine...

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Adrian" wrote in message
...
Hi,
I have name a cell using the same VBA command as follows in 2
different
spreadsheets submitted by 2 different colleagues :


Spreadsheet A
*************
VBA Command Executed : Range("E4").Name = "Overall_CashBegining"

Cell Formula in E5 : "=E4"

Formula Bar Display when cell E5 is selected: "=E4"



Spreadsheet B
***********
VBA Command Executed : Range("E4").Name = "Overall_CashBegining"

Cell Formula in E5 : "=E4"

Formula Bar Display when cell E5 is selected: "=Overall_Cash Begining"


Why is there a different display in the formula bar despite the fact that
other
conditions are the same... only the spreadsheet were submitted by

different
people. Is there any options to turn on/off cell naming in formula bar
display ?


Thanks...
--
Regards,
Adrian






All times are GMT +1. The time now is 12:22 PM.

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