Error HRESULT 0x800A03EC (EXCEL)

E

e-lores

I need to print an excel doc to PDF. I'm doing next until now


1.- First I print the file to PostScript format using 'Acrobat Distiller'
printer

Dim wbook As Excel.Workbook
wbook = appExcel.Workbooks.Open(fileExcel)
wbook.PrintOut(fisrtPage, lastPage, , , "Acrobat Distiller", True, filePs)
wbook.Close()

2.- Then I use Adobe Acrobat SDK to convert this file to pdf.

Dim oDistiller As ACRODISTXLib.PdfDistiller = New ACRODISTXLib.PdfDistiller
oDistiller.FileToPDF(psfile, pdffile, "Print")

This method work fine until now that I keep this message

HRESULT 0x800A03EC

in line



wbook = appExcel.Workbooks.Open(fileExcel)

Can anybody help me?

Thanks
Ernesto Lores.

Barcelona.
 
Top