Error -2147417851 - Excel 97 - Windows XP

C

Cristian

Hi, I have an application in vb6 that calls the 'Workbooks.Add' method of an
excel object. It works fine with Windows 98 and Excel 97, but now i have
Windows XP and Excel 97, and when i run the program, i see the runtime error:
"Error -2147417851 in the Add method of the Workbooks object". The line of
code is:

Set libro = Excel.Workbooks.Add

where libro is a Workbook
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top