Step 1: In the Windows 10/8/7, you need to open the Control Panel. Word files or documents are very prone to damage and users face a number of scenarios that result in corruption of these documents. Otherwise, it returns -1. Click Start, point to Programs, point to Accessories, and then click Windows Explorer. With all the workbooks opening, hold down the Shift key on the keyboard, and then click the Close button at the top right of the Excel title bar, see screenshot: 2. You can also use the Close button. Quickly Close Open Windows Using Shortcut Keys - Lifewire Step 3: Then click "Save", find "AutoRecover file location" path under "Save documents" option. You can also choose to close documents by using one of two shortcuts: either Ctrl+W or Ctrl+F4. So you can troubleshoot by resetting Word preferences. To remove a template from your startup folder, follow these steps. As said before, corrupted Word preferences are one of the main reasons for "Word has encountered a problem". Step 1: Click on the View tab and then click One page option. You can disable editing altogether and make the file read-only, or you can restrict editing to certain parts of the document. Click "Go" > "Home" > "Library". How To Stop Microsoft Office Word From Showing Two Pages Side-By-Side How to Hide Comments in Word - Nuts & Bolts Speed Training status = fclose ( ___) returns a status of 0 when the close operation is successful. You can simulate this yourself by closing the files in the same way, and watch the ID numbers increase each time. 3. (In Word 2007, click Office button > Options > Quick Access Toolbar. PsFile usage If you know which file you want to close, you can use the following code: 1. It's the option closest to the icon. Now, click on the Insert tab in the ribbon area, then click on Bookmark.