Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Open workbook object

Hello and Season's Greetings to all! I posted a spreadsheet on our vendor
website, and now when you try to save the file or click the "Back" button,
you receive either 1 of these 2 errors:
Runtime error '9' Subscript out of range
Runtime error '1004' Method sheets of object global failed

It appears the problem occurs because I have an Auto Close macro that starts
out by putting protection back on certain sheets. I've seen an additional
file get created at some point when the code starts to run called "Object."
The first sheet name the macro is to protect does not exist in Object, and I
think that's the reason I'm getting the errors. Does anyone know how I can
stop this from happening? TIA.
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
How to: Open closed workbook/Search data tables/Return data to open workbook Hugh Adams Excel Discussion (Misc queries) 0 August 18th 10 02:04 PM
how do i open a data workbook when i open a timesheet workbook [email protected] uk Excel Discussion (Misc queries) 2 January 4th 09 04:50 PM
How do you program so that Workbook B cannot be open unless Workbook A is open? Plus I need to validation Marcello do Guzman[_3_] Excel Programming 2 December 5th 04 06:50 AM
Load a Combo Box Object upon workbook open ExcelMonkey[_160_] Excel Programming 1 September 15th 04 01:38 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


All times are GMT +1. The time now is 08:03 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"