Posted on: 11/15/2012 12:09:04 AM | Views : 379

Hi,
Losing some sleep on this.
i have an excel template which i copy then try to open (thsi is all within a dll within my website).
the file copies and exists (with a system.io.file.exists)
however when i attempt the file open with excel it fails
command i'm using is:

 xlsWorkBook = XLS.Workbooks.Open(strFilename, , False)
the error is:

Microsoft Office Excel cannot access the file 'abcd.xlsm'.
There are several possible reasons: 
The file name or path does not exist.
The file is being used by another program.
he workbook you are trying to save has the same name as a currently open workbook.

I'm confused as firstly the code works locally no problems and secondly the file exists.

so i'm not sure if its becaue the file is l ...

Go to the complete details ...