

- #Word crashes when opening document how to
- #Word crashes when opening document pdf
- #Word crashes when opening document windows
Starting a Microsoft Office for Windows application in Office Safe Mode can allow you to use it when it has encountered certain problems safely. Let the repair finish and restart your computer.
#Word crashes when opening document how to
How to Fix "Word keeps crashing when saving"Īltogether, there are three tips worth trying if Word crashes or freezes when you save a document. But today, there is another frequently happened issue waiting to be resolved, and it's about Word keeps crashing when saving. For example, Word has stopped working Word has stopped working Word is not responding, etc. What a horrible thing to see Microsoft Word running into trouble all of a sudden! In some previous posts, we discussed several typical Word errors that make you fail to save your work in time. Use EaseUS Data Recovery Wizard to recover lost Word as a result of accidental deletion, formatting.

Start Word > click "File" > "Options" > "Save". (Actually it crashes before number 4 above.Fix the problem by running the Office Repair tool, opening Word in Safe Mode, and disabling the Add-ins.
#Word crashes when opening document pdf
(the code checks if there is an open document and only runs if it finds an open document)ġ) Takes the ActiveDocument (eg source.doc which is a color coded medical report) and saves it under a new file name that is password protected (eg cc_source.doc) to create an instance of the color coded document at the point when the billing is calculated.Ģ) Saves another version of the same color coded report in PDF format.ģ) Opens the original source document, selects all of the text and makes it black and then saves it with another prefix (eg black_source.doc) dotm file in the Word Startup directory so that it is always available.ģ) User invokes the code when a document is already open by clicking on a button on the Quick Access Toolbar Also the client needs to receive a black and white version of the report without the color coding.Ģ) The VBA code is stored in a. The color coded file needs to be preserved in case the billing is queried (my boss wants this saved as both a PDF file and a password protected Word file). No error code, just the attached screen shot.ġ) The users are medical transcribers who create medical reports based on doctors notes and then color code blocks of text within their report as the basis for billing the client. If I just run the code that I posted in my previous post that also causes Word to crash. In trying to simplify the explanation I didn't provide enough detail. I didn't want to post lots of code that wasn't related to the problem and would mask the issue. Here's a trimmed down version of my code that saves the files and tries to close them (The password is set properly in the real code!): I'm sure there must be a way of closing the documents that my code has specifically worked on without crashing Word but I am struggling to find it. I would like the code to close all documents that it was working on at the end to give a "clean" appearance to the user (but if the user has other documents open that are not connected with this code I would like to leave them open). I suspect that it is something to do with closing the document that has the VBA code in its' template.


The code takes the open document, does a bit of formatting and saves a second copy of the document with a prefix to the file name (eg cc_source.doc) and a third copy as a PDF file.Īll works well up to this point but when I try to close the new document, Word crashes. I have a piece of code that seems to work reasonably well until it comes to tidying up at the end and closing the Word documents.
