Jeffrey,
Try:
oXls.displayAlerts = .f.
This is similar to VFP's SET SAFETY command.
HTH
>I am attempting to create a excel file. I can open the file, save it as a csv file but i'm always prompted to confirm the save. can anyoen tell me how i supress this message box and if the file is there, it should overwritten all the tiem?
Daniel