excel|导出数据 ----------VB.NET 导出数据到EXCEL中------------- Dim oExcel As New Excel.Application Dim obook As Excel.Workbook Dim oSheet As Excel.Worksheet Dim DataArray(2000, 2000) As Integer obook = oExcel.Workbooks.Open("c:\1.xls") oSheet = obook.Work
----------VB.NET 导出数据到EXCEL中------------- 在引用当中引入Microsoft Excel 11.0 Object Library Dim oExcel As New Excel.Application Dim obook As Excel.Workbook Dim oSheet As Excel.Worksheet Dim DataArray(2000, 2000) As Integer obook = oExcel.Workbooks.Open("c:\