Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jp
 
Posts: n/a
Default error opening excel file

hi!
i cannot open this excel file, an microsoft visual basic window appear
saying "An error occur while loading 'Sheet32111111111111111111111111'. Do
you want to continue loading the project?"

i click yes, microsoft window appear and asking if i want to update this
workbook? then i click no a Program Error window appear saying " An error
log is being created"
what happen to the excel file?
the excel file is only 2.6Mb



  #2   Report Post  
Bill Manville
 
Posts: n/a
Default

This looks like a problem that existed in Excel 97.
A worksheet has a VBA name as well as a sheet name.
The VBA name is created automatically when the sheet is created.
In Excel 97 if you copied a with VBA name SheetXXX it would create a
sheet named SheetXXX1 (or SheetXXX2 if SheetXXX1 already existed etc).
Thus a copied sheet's VBA name was always one character longer than the
VBA name of the sheet you copied.

There is a limit of 32 on the length of such sheet names.
It looks like yours has been hit by that limit in some way.

If you could get the workbook to open you could change the sheet name
in properties window in the VB editor. You could try opening it with
the shift key held down.

Alternatively go to a backup version that didn't have the problem and
rename the sheet that you had copied to create the one causing problems
before copying it again.

To avoid the problem in future update to a newer version of Excel, or
always copy a sheet with a shorter VBA name.


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

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 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How Do I open an excel file without Excel Viewer support CocoriteBallGiants Excel Discussion (Misc queries) 2 February 4th 05 10:50 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Excel 2000 file when opened in Excel 2003 generates errors? Doug Excel Discussion (Misc queries) 13 December 25th 04 10:20 PM
double click a xls file and start Excel but without the file Danyi, Attila Excel Discussion (Misc queries) 2 December 22nd 04 02:19 PM


All times are GMT +1. The time now is 11:00 AM.

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"