andrewvanmarle
New Member
- Joined
- Aug 11, 2015
- Messages
- 40
Hi All!
years ago I got this code from a helpful user at this forum:
Which is supposed to return the 5 digit filename without the extension.
These days we sometimes have a letter appended to that five digit filename, and if we do this code returns a value error.
I've been fiddling with the +1 and the -5 but that didn't come up with the result i wanted.
Can anyone help?
years ago I got this code from a helpful user at this forum:
Excel Formula:
=(DEEL(CEL("bestandsnaam");VIND.SPEC("[";CEL("bestandsnaam"))+1;VIND.SPEC("]";CEL("bestandsnaam"))-VIND.SPEC("[";CEL("bestandsnaam"))-5))+C13
Which is supposed to return the 5 digit filename without the extension.
These days we sometimes have a letter appended to that five digit filename, and if we do this code returns a value error.
I've been fiddling with the +1 and the -5 but that didn't come up with the result i wanted.
Can anyone help?