Quote Originally Posted by fumei
If you test for NewFileName, do you get a valid string?
Hi Fumei,

Thanks for your response. I think the .Text property definitely returns a string. I even used the CStr-function to convert the NewFileName variable, which already is defined as a string, to a string.