formerTexan
Programmer
I am puzzled by the behavior of the Shell function PathStripPath in a VBA setting in that it merely overwrites the beginning of the string.
If I pass a string "C:\FolderABCD\File.txt" the resultant string value is:
"File.txt BCD\File.txt"
This is fortunately not a show stopper since there are alternative ways to trim off the path, but if there are any ideas as to why the behavioral oddity, I'd appreciate hearing them.
Thanks,
Bill
If I pass a string "C:\FolderABCD\File.txt" the resultant string value is:
"File.txt BCD\File.txt"
This is fortunately not a show stopper since there are alternative ways to trim off the path, but if there are any ideas as to why the behavioral oddity, I'd appreciate hearing them.
Thanks,
Bill