Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You may want to post the code and indicate the offending line.
wrote: 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. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open Excel 2002 Attachment from Outlook 2002 | Excel Discussion (Misc queries) | |||
Excel 2002 : Unable to open files in MS Outlook 2002 | Excel Discussion (Misc queries) | |||
Excel 2002-SP3 keeps trying to open deleted workbooks | Excel Discussion (Misc queries) | |||
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 | Excel Programming | |||
Open Method of workbooks class failed | Excel Programming |