![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: Boston
Posts: 13
|
When I open Excel, I get the error "Subscript out of range" in a dialog box, and then an OK button. When you click ok, the application starts normally. What does this mean????
[ This Message was edited by: Claudette on 2002-03-12 09:45 ] |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,510
|
It means that you have code on the Workbook_Open event that has code that is no longer valid.
Hit Alt-F11. In the top-left window, double-click the ThisWorkbook object under YOUR file's name. You'll see the code. If you are given a button to DEBUG along with that error message, you can hit it, and it'll take you to the line of code that isn't working.
__________________
~Anne Troy |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
unless you have the password then you may have to live with the error lets hope not ivan |
|
|
|
|
|
|
#4 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Claudette
If it is code in the Workbook_open event AND it's protected AND you don't know the password, you can open this workbook from within Excel while holding down the shift key. This will prevent any Workbook open code running. PS Hey tuggy, when are you going to post your picture? _________________ Kind Regards Dave Hawley OzGrid Business Applications Microsoft Excel/VBA Training ![]() [ This Message was edited by: Dave Hawley on 2002-03-12 19:35 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|