Hi, I am new to AutoIT but I have many years of IT experience. I searched a lot for saving the document as xls and xlsx file but no success. The following is my code. Please help. #include <Excel.au3> Global $oExcel="D:\ChromeDownloads\abc.csv" $prog_excel = _Excel_Open() ;opens a new instance of the Excel software sleep(5000) $workbook = _Excel_BookOpen($prog_excel, $oExcel) ; open an existing excel file $oExcel.ActiveWorkbook.SaveAs ( "D:\ChromeDownloads\abc.xlsx",50,"","",False,False) ;