Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rob
 
Posts: n/a
Default Error opening Excel in different version

I created a workbook with some macros, including a WorkBook Open ()
procedure in version 2000.

When I open it on a system running 2002, I get the dreaded "Microsoft Excel
has encountered a problem and needs to close" message.

The document is then opened and recovered in a "Repaired" status, except
that just means it is opened and all the macros are removed.

What could be the problem?

Also, is there a way to open the file anyway but disable the macros so that
I can eliminate macros progressively to determine which one might be the
offender?

Rob


  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Error opening Excel in different version

If you hold down the SHIFT key when opening the file, macros will
not run.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Rob" <none wrote in message
...
I created a workbook with some macros, including a WorkBook Open
() procedure in version 2000.

When I open it on a system running 2002, I get the dreaded
"Microsoft Excel has encountered a problem and needs to close"
message.

The document is then opened and recovered in a "Repaired"
status, except that just means it is opened and all the macros
are removed.

What could be the problem?

Also, is there a way to open the file anyway but disable the
macros so that I can eliminate macros progressively to
determine which one might be the offender?

Rob



  #3   Report Post  
Posted to microsoft.public.excel.misc
Rob
 
Posts: n/a
Default Error opening Excel in different version

Thanks Chip.

Doing that brings up a warning box that says "Cannot open Microsoft Excel
Add-In for editing. Please edit the source document instead.

I have also discovered that deleting the Workbook Open procedure that the
workbook opens without a problem

This following is the procedure and removing any part of this code, rather
than the complete procedure, brings up the error message.

Any ideas?

Private Sub WorkBook_Open()
With Sheet1
.EnableSelection = xlUnlockedCells
.ScrollArea = "A1:BB53"
.Protect
End With
Sheet2.Select 'to refresh sheet to remove some lines from sheet 1
Sheet1.Activate
Range("H2").Select
End Sub



"Chip Pearson" wrote in message
...
If you hold down the SHIFT key when opening the file, macros will not run.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Rob" <none wrote in message
...
I created a workbook with some macros, including a WorkBook Open ()
procedure in version 2000.

When I open it on a system running 2002, I get the dreaded "Microsoft
Excel has encountered a problem and needs to close" message.

The document is then opened and recovered in a "Repaired" status, except
that just means it is opened and all the macros are removed.

What could be the problem?

Also, is there a way to open the file anyway but disable the macros so
that I can eliminate macros progressively to determine which one might be
the offender?

Rob





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
Multiple Excel versions. Naveen Mukkelli Excel Discussion (Misc queries) 0 May 16th 06 12:55 AM
How can I open previous version of saved file in Excel? Cindy W. Excel Discussion (Misc queries) 1 August 1st 05 10:33 PM
How to use excel file created in version earlier than 4.0a in 4.0 ajimmo Excel Discussion (Misc queries) 4 May 30th 05 10:20 PM
How to use later version Excel file in 4.0a? ajimmo Excel Discussion (Misc queries) 1 May 30th 05 10:26 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM


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