Hi Tony,
I have figured out why it didn't work with Len(FNameD) - 1 cos the
FNameD ends with a "." and so will need to -2 chars instead of just 1.
Thanks again! Appreciate your help!
--
josnah
------------------------------------------------------------------------
josnah's Profile:
http://www.excelforum.com/member.php...fo&userid=6334
View this thread:
http://www.excelforum.com/showthread...hreadid=548074