>>>This command
>>>
>>>oX.ActiveWorkbook.SaveAs("C:\Temp.txt", -4158,.f.)
>>>
>>>creates a warning dialog to overwrite "Temp.txt" if the file already exists. Is there a way to supress this dialog as if set safety were off?
>>>Thanks
>>
>>Did you try
>>
>>oX.DisplayAlerts = .F.
>>
>>?
>That works. Thanks Naomi.
No problem. I made a search here just in case afterwords and was going to give you a link to this thread #
1396469
If it's not broken, fix it until it is.
My Blog