LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
macroplay
 
Posts: n/a
Default Excel Open Error

Ok, I have a really bizarre problem...

I have a workbook "file1". If I open file1 and make any chnage such as
changing the test of a header cell and save file1 as file2 and close it. I
can then open file2 but if I make a similar little change to file2 and save
as file3 and close. When I try to open file3 I get an error from excel that
says

"Microsoft Excel has encountered a problem and needs to close. We are sorry
for the inconvenience."

It tries to repair the file3 but if I view the repairs it indicates that the
prblems were so extensive that it could not be repaired.

The original file1 I don't think has anything special about it. Some
formulas referring to cells in other sheets of the same file, some drop down
lists. There is a worksheet function (code below) but even if I delete this
code I have the same problem. Even if I delete all the sheets the problem
persists.

Does anyone have any idea why this would be happening ???

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count 1 Then Exit Sub
If Intersect(Range("B31:B126"), Target) Is Nothing Then Exit Sub

Application.EnableEvents = False
Application.Calculation = xlCalculationManual


Application.Run "VarMacro.xls!update5mBlotter" ' another workbook
Application.Run "VarMacro.xls!updateHourBlotter" ' another workbook

Application.EnableEvents = True
Application.Calculation = xlCalculationAutomatic

End Sub


 
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
Cannot open excel files; Installation error; source CD won't run DEHPOST Excel Discussion (Misc queries) 0 January 16th 06 06:25 PM
Click on Excel Doc Starts Excel but Excel does not Open the Doc. Mark Excel Discussion (Misc queries) 3 August 24th 05 02:33 PM
cannot open excel file - error log created Joe Excel Discussion (Misc queries) 3 June 6th 05 10:43 PM
i cannot open excel file error Cannot access read-only document me Lenda. Excel Worksheet Functions 1 March 14th 05 06:15 PM
Error boxes when opening Excel "unable to read file" then "open X. jppz Setting up and Configuration of Excel 1 February 19th 05 03:51 AM


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