View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Medes Medes is offline
external usenet poster
 
Posts: 2
Default 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")