下面是简单的实现dataGridView数据到excel: 当然首先要添加引用:Microsoft.Office.Interop.Excel Dim MyExcel As New Microsoft.Office.Interop.Excel.Application() MyExcel.Application.Workbooks.Add() MyExcel.Visible = True '获取标题 Dim Cols As Integer For Cols = 1 To DataGridView1.Columns.Count MyExcel....