ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   exporting to excel problem (https://www.excelbanter.com/excel-programming/374613-exporting-excel-problem.html)

Medes

exporting to excel problem
 
hi,

I have created a little time reporter (Web Application) that has a button to
export time sheets to excel.

when I debug the application by hitting F5 and then I click the button to
export time sheets to excel, everything goes well but when browse to my
application (http://server:888/app1) the button does not work and it generate
followin exception:
System.Exception: Cannot create ActiveX component.

it generates at this line of my code:
oExcel = CreateObject("Excel.Application")



All times are GMT +1. The time now is 02:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com