Electra_Pink
New Member
- Joined
- Sep 8, 2005
- Messages
- 6
I hope I can explain the problem well enough that someone can help because I cannot forward the file that is causing the error -- it's nearly 25MB. There's quite an extensive relational database involving several sheets and a VBA userform interface and code. All has been running well for the last couple of years and we've made small changes as time went by with no issues. However, in November 2008, I needed to make a fairly extensive change, adding several new rows of data to several pages of the userform1, forcing some items to be closer together and adding about 30 columns to one of the spreadsheets.
Everything works fine...except...Excel always errors out now upon opening the file. We are getting the "Recover my work and Restart Microsoft Excel" every time we open the file. We found we can circumvent the error by opening the file with DISABLE MACROS, then: open VBA, open USERFORM 1 and close VBA. After that, we can open the file as many times as we want in that instance of Excel and it will always work. If, however, we close that instance of Excel and open a new one, we are back to the Recover/Restart error.
There have been times when we have saved the file after making a change to the VB Code and everyone can suddenly get in directly for awhile -- but after a time, it always reverts to the same problem. This has happened so rarely we are not certain of the commonalities. It's possible that it relates to either the person who saved the file or the person who opened the file starting a new instance of Excel. I should note that only I and one other user can open the file in READ WRITE mode and it doesn't seem to matter which of us saves it, the result is the same. All other users open the file READ ONLY but everyone universally seems to have the same problem opening.
Does this ring a bell with anyone? We have several times re-created this large userform1 thinking that it was corrupt but that only solves things for a little while (but changing anything in VBA does seem to sometimes correct the problem short term). We are stymied and for the correct answer we would gladly give up our first born children (who are surly teenagers, anyway).
Everything works fine...except...Excel always errors out now upon opening the file. We are getting the "Recover my work and Restart Microsoft Excel" every time we open the file. We found we can circumvent the error by opening the file with DISABLE MACROS, then: open VBA, open USERFORM 1 and close VBA. After that, we can open the file as many times as we want in that instance of Excel and it will always work. If, however, we close that instance of Excel and open a new one, we are back to the Recover/Restart error.
There have been times when we have saved the file after making a change to the VB Code and everyone can suddenly get in directly for awhile -- but after a time, it always reverts to the same problem. This has happened so rarely we are not certain of the commonalities. It's possible that it relates to either the person who saved the file or the person who opened the file starting a new instance of Excel. I should note that only I and one other user can open the file in READ WRITE mode and it doesn't seem to matter which of us saves it, the result is the same. All other users open the file READ ONLY but everyone universally seems to have the same problem opening.
Does this ring a bell with anyone? We have several times re-created this large userform1 thinking that it was corrupt but that only solves things for a little while (but changing anything in VBA does seem to sometimes correct the problem short term). We are stymied and for the correct answer we would gladly give up our first born children (who are surly teenagers, anyway).