生成excel,OLE 服务无法绑定对象的错误
Dim xlApp As New Excel.Application()
生成excel,实例化excel application,错了,请教各位怎么回事?
错误:
异常详细信息: System.Runtime.InteropServices.COMException: OLE 服务无法绑定对象
源错误:
行 39:
行 40: Private Sub excel()
行 41: Dim xlApp As New Excel.Application()
行 42: Dim xlBook As Excel.Workbook
行 43: Dim xlSheet As Excel.Worksheet
源文件: c:\inetpub\wwwroot\NRM\test\createexcelAndInsert.aspx.vb 行: 41