Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Excel 2002 Workbooks.Open failed.


I had a macro that worked just fine in 97. Then I went to Excel 2002.

When I run the same macro, the commanded Workbooks.Open failed. The
exact error is :

Run-time error '1004':

Method 'Open' of object 'Workbooks' failed

What is going on! Even when I record a key stroke macro, and I run the
recorded macro, it fails. That is just wonderful. If I open a
spreadsheet manually, it works. But, if I run a recorded macro. It does
not work.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel 2002 Workbooks.Open failed.

Are macros enabled? If security is set to high, macros are silently
disabled.

--
Regards,
Tom Ogilvy


wrote in message
oups.com...

I had a macro that worked just fine in 97. Then I went to Excel 2002.

When I run the same macro, the commanded Workbooks.Open failed. The
exact error is :

Run-time error '1004':

Method 'Open' of object 'Workbooks' failed

What is going on! Even when I record a key stroke macro, and I run the
recorded macro, it fails. That is just wonderful. If I open a
spreadsheet manually, it works. But, if I run a recorded macro. It does
not work.



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
Open Excel 2002 Attachment from Outlook 2002 Youlan Excel Discussion (Misc queries) 0 May 30th 08 10:34 PM
Excel 2002 : Unable to open files in MS Outlook 2002 Mr. Low Excel Discussion (Misc queries) 1 June 29th 07 02:12 PM
Excel 2002-SP3 keeps trying to open deleted workbooks Tracker Excel Discussion (Misc queries) 1 December 12th 06 06:18 PM
Excel 2003 Workbooks.Open with CorruptLoad=xlRepairFile fails on Excel 5.0/95 file due to Chart, with Error 1004 Method 'Open' of object 'Workbooks' failed Frank Jones Excel Programming 2 June 15th 04 03:21 AM
Open Method of workbooks class failed kiran[_2_] Excel Programming 0 November 6th 03 09:58 PM


All times are GMT +1. The time now is 07:36 PM.

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

About Us

"It's about Microsoft Excel"