Dim xlExcel As Excel.Application Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet Dim AppExcel As Object Set xlExcel = CreateObject("Excel.Application")
先创建进程,然后读取数据到数组,然后导出成文本。。。。
Open ff.Path & "\123.txt" For Output As #1 '写回去 For w = 1 To UBound(arr) Print #1, arr(w) Next Close #1