gravanoc
Active Member
- Joined
- Oct 20, 2015
- Messages
- 351
- Office Version
- 365
- Platform
- Windows
- Mobile
The point of this post is to get feedback from others on their experiences with corrupt files:
There are still some problems with this:
These are the causes from what I've read and my own experience:
- How often does it happen to you?
- What causes it?
- How to fix them (if possible)?
- What do you do if they can't be fixed?
- Copy the code to Notepad (instead of exporting it as a .bas)
- Create new modules in the new workbook
- Copy the code from Notepad to the new modules
- Copy everything on each tab one-at-a-time using Ctrl A then Ctrl C, then
- Paste each tab on a new tab in the new workbook (instead of using the Move or Copy feature)
- Use some UDFs to determine old column widths & heights, shape sizes, etc. Sometimes the formatting carries over ok with the paste, but usually there are still issues to iron out.
There are still some problems with this:
- User Forms are difficult to recreate from scratch, especially complex ones, so I usually just export and import these into the new workbook
- It is very time consuming
- It doesn't always work, and I'm left with no option but to revert to an older version and hope the same issue doesn't happen again.
- It doesn't tell me why it happened in the first place
These are the causes from what I've read and my own experience:
- A crash when saving the file
- Any other crash or freeze might cause it too, generally with little info to go on
- Pictures seem to be a problem, and often they get removed if I try to repair the file
- Shapes and similar objects, especially when you make them complex in an attempt to be artistic
- User Form issues
- Other VBA-related causes