Dim xl As New Excel.Application Dim xlBook As Excel.Workbook = xl.Workbooks.Open("C:\ExcelData.xlsx") Dim xlSheet As Excel.Worksheet = xlBook.Sheets("Sheet1") xlSheet.SaveAs("C:\Data.txt", Excel.XlFileFormat.xlTextWindows) xlBook.Close
xl.DisplayAlerts = False
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)