OilEconomist
Active Member
- Joined
- Dec 26, 2016
- Messages
- 439
- Office Version
- 2019
- Platform
- Windows
Thanks in advance for any suggestions for which feedback will be given.
Is there a formula that you can put into a cell that will get the name of that file and not necessarily the active file? When I switch files, the cell changes to the active file even though the active file is a different file.
Is there a formula that you can put into a cell that will get the name of that file and not necessarily the active file? When I switch files, the cell changes to the active file even though the active file is a different file.
Code:
=MID(CELL("filename"),SEARCH("[",CELL("filename"))+1,SEARCH(".",CELL("filename"))-1-SEARCH("[",CELL("filename")))