fpSpread1.SheetCount = 5
Dim f
f = fpSpread1.ExportToExcel("C:\Select Value.xls", "select value", "")
'打开EXCEL
Call ShellExecute(Me.hWnd, "Open", "C:\Select Value.xls", vbNullString, _
App.Path, SW_SHOWNORMAL)
我导出后的EXCEL只有一个SHEET,是否是参数有问题? |