1 Pages (3 items)
File Name - File name without Path name - Messages
#1 Posted: 11/18/2022 6:11:05 AM
Hello All,
i am a new user of Smath.
When we use the field "file name" it will display the filename with the complete path.
Is it possible to display only the file name with the Extension
Friso
i am a new user of Smath.
When we use the field "file name" it will display the filename with the complete path.
Is it possible to display only the file name with the Extension
Friso
#2 Posted: 11/22/2022 8:31:25 PM
Greetings!
This is a great question! As such, I took the past few days researching it and the answer I have to your question is: "kind·a"
As you said, inserting a FIELD will result in the full filepath and I have not been able to 'format' this field to report just the filename.
However, Page Setup handles these fields differently! As such, referencing &[FILENAME] as an entry into the Header/Footer will print the filename without the filepath.
Please note, that the Page Setup Header/Footer inputs will only populate if the Header/Footer regions of your Worksheet are left blank.

Hope this of help!
- Kenny Lemens, P.E. ᵂᴵ
This is a great question! As such, I took the past few days researching it and the answer I have to your question is: "kind·a"
As you said, inserting a FIELD will result in the full filepath and I have not been able to 'format' this field to report just the filename.
However, Page Setup handles these fields differently! As such, referencing &[FILENAME] as an entry into the Header/Footer will print the filename without the filepath.
Please note, that the Page Setup Header/Footer inputs will only populate if the Header/Footer regions of your Worksheet are left blank.
Hope this of help!
- Kenny Lemens, P.E. ᵂᴵ
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#3 Posted: 11/23/2022 6:41:53 AM
Hello Kenny,
Thanks for your solution and we are going to use this in the future.
If it good by as a format in the insert field, we would prefer this.
Friso
Thanks for your solution and we are going to use this in the future.
If it good by as a format in the insert field, we would prefer this.
Friso
1 Pages (3 items)
-
New Posts
-
No New Posts