Microsoft KB Archive/105093

How to Open a Damaged Document in Draft Mode PSS ID Number: Q105093 Article last modified on 11-30-1993 PSS database name: WM_Word

6.00

WINDOWS

= SUMMARY =

This article describes a method you can use to open a damaged Word for Windows document in draft mode. Sometimes (not always, due to the nature of damaged documents) you can open a document successfully in draft mode when it will not open in other views. Once you open the file, you may be able to recover or repair the file.

NOTE: To switch to draft mode in Word, choose Options from the Tools menu, select the View tab and then select the Draft Font option.

For more information about recovering and repairing damaged Word files, query on the following words in the Microsoft Knowledge Base:

corrupt and documents and recover and winword

= MORE INFORMATION =

WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code “as is” without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Run the following macro to turn off screen updating, open your damaged document, switch to draft mode, and then reactivate screen updating:

Sub Main ScreenUpdating 0 FileOpen .Name = “FILENAME.DOC” ’ substitute your filename ToolsOptionsView .DraftFont = 1 ScreenUpdating 1 End Sub

Note: In the above macro, substitute the name of your damaged document for the “FILENAME.DOC” argument text.

This macro may open documents that you cannot otherwise open due to damage that affects printer setup, page layout, or screen updates in Word. For example, if a general protection (GP) fault occurs in Word before the document opens, you may be able to avoid the GP fault by opening the document using the above macro.

= REFERENCES =

“Microsoft Word User’s Guide,” version 6.0, chapter 31, “Customizing and Optimizing Word”

Additional reference words: 6.00 w4wmacro corrupt corrupted hang hung crash crashed locks locked frozen freezes crashing quit quits stopped tshoot troubleshooting gpf error

Copyright Microsoft Corporation 1993.