Dim App As New MSExcel.Application try app.DisplayAlerts = False Dim Wb As MSExcel.WorkBook = App.WorkBooks.open("d:\test.csv") wb.SaveAs(Filename:="d:\test.xls", FileFormat:=MSExcel.XlFileFormat.xlAddIn8) catch ex As exception msgbox(ex.message) finally app.quit End try