I have not had experiencre with this type of problem but try
Application.DisplayAlerts = False
objWorkSheet.SaveAs sSavePath & SaveName & ".txt", xlText, , , , False
Application.DisplayAlerts = True
or
on error resume next
objWorkSheet.SaveAs sSavePath & SaveName & ".txt", xlText, , , , False
on error goto
-----------------------------------------------
~~ Message posted from
http://www.ExcelTip.com
~~View and post usenet messages directly from
http://www.ExcelForum.com