p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: Excel : application.workbooks.open gives error 80010105


Message #1 by "Dimitri Haelterman" <dhaelter@v...> on Thu, 20 Jun 2002 12:26:24
Hello,
I need to open an excel worksheet.
This is the code I use : 

dim sXLS
dim myExcel
dim myBook
sXLS = Server.MapPath(".") & "\test.xls"
set myExcel = CreateObject("Excel.Application")
set myBook = myExcel.WorkBooks.Open(sXLS)

problem : myExcel.workbooks.open gives error 80010105

The code has worked before on another machine, the location of the 
test.xls file is correct (same dir as the asp page)

Any help on this prob would be greatly appreciated.

Thx
Jamaica

  Return to Index