Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Error -2147417851 - Excel 97 - Windows XP

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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002/Windows XP - PageSetup error [email protected] Excel Programming 6 March 2nd 05 05:40 PM
Downloading Templates for Excel error with a windows error. Lanie Moore Excel Discussion (Misc queries) 0 December 20th 04 11:39 PM
Automation error -2147417848 on windows 98 while using excel in VB ( works fine in XP) Sudhanshu Jain Excel Programming 1 November 5th 04 04:41 PM
Error -2147417851 '"The server threw an exception" Bob Barnes[_3_] Excel Programming 5 February 6th 04 03:51 PM
Automation Error with Excel 97 in Windows 2000 with patch blaster Gustavo Berrutti Excel Programming 0 October 8th 03 03:52 PM


All times are GMT +1. The time now is 08:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"