ozbeachbum
Board Regular
- Joined
- Jun 3, 2015
- Messages
- 233
- Office Version
- 2021
- Platform
- Windows
=(LET(f,CELL("filename",A29),REPLACE(REPLACE(f,FIND("]",f),500,""),1,FIND("[",f),"")))
I am using the above formula to show the file name of a template, it works fine until I want to change the name.
When I save as to the same folder it retains the original file name, F9 does not correct it, however when I close and reopen it changes to the correct name.
As it is a template I need to save or move it to a different folder, in both cases when the file is opened all it only shows e-, neither character being part of the file name.
Example of file name being saved: ZZZ 410701 (ph) stf^out^
Any assistance or comments greatly appreciated.
I am using the above formula to show the file name of a template, it works fine until I want to change the name.
When I save as to the same folder it retains the original file name, F9 does not correct it, however when I close and reopen it changes to the correct name.
As it is a template I need to save or move it to a different folder, in both cases when the file is opened all it only shows e-, neither character being part of the file name.
Example of file name being saved: ZZZ 410701 (ph) stf^out^
Any assistance or comments greatly appreciated.