oExcel = CREATEOBJECT("Excel.Application") WITH oExcel.Workbooks.Open(cFichier) ***Nom du nouveau CSV cNewFichier = JUSTPATH(cFichier) + JUSTFNAME(cFichier) + ".csv" IF FILE(cNewFichier) ERASE cNewFichier ENDIF WAIT WINDOW cNewFichier .SaveAs(cNewFichier) .close() ENDWITH oExcel.Quit() oExcel.visible = .T. oExcel = NULL RELEASE oExcel ... APPEND FROM cNewFichier DELIMITED WITH TAB ...The file saves properly with the saveas() method, but right on the next line ( ".close()") it asks me if I want to save the file which doesn't seem to make sense.