Is there any reason for not using the filename code I provided in post #4?
And no, the macro is not deleting the path separators. Any error there is in your copying/pasting of the code - most likely when copying from an on-line post.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|