Hi, I think most probable cause is some special character in the file name or path name, e.g. *, ?. etc.
try to debug.print, display in msgbox Filename before trying to use it in the ExportAsFixedFormat