drom
Well-known Member
- Joined
- Mar 20, 2005
- Messages
- 543
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
Hi and thanks in advance!
if I put this formula in my activhesheet
I will get my activesheet name
If I create a name named "MyName" when my Activesheet is "France" like:
MyName =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
Excel converts MyName
So in every Tab I get the shame answer when I put =MyName
So is there any solution to avoid this?
Why I do not like to put in A1 = MID(CELL("filename",A1),FIND("]",CELL("filename",A1)) instead of =MyName
Because I am trying to know if is possible to create a dinamic formula to get a sheets Name using the same named formula
if I put this formula in my activhesheet
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
I will get my activesheet name
If I create a name named "MyName" when my Activesheet is "France" like:
MyName =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
Excel converts MyName
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))
to=MID(CELL("filename",France!A1),FIND("]",CELL("filename",France!A1))
So in every Tab I get the shame answer when I put =MyName
France
So is there any solution to avoid this?
If I am in a Sheet Named UKI and I put =MyName get UKI
If I am in a Sheet Named Ireland and I put =MyName get Ireland
If I am in a Sheet Named NESA and I put =MyName get NESA
If I am in a Sheet Named Portugal and I put =MyName get Portugal
Why I do not like to put in A1 = MID(CELL("filename",A1),FIND("]",CELL("filename",A1)) instead of =MyName
Because I am trying to know if is possible to create a dinamic formula to get a sheets Name using the same named formula