I can work around it by removing the comments and essentially retrying the operation. Another simple solution is just trying to save the file in a different name by using the Save As option. Where C: is a name of the drive you want to convert.
Just go to the Command Prompt and execute the command: C:> CONVERT C: /fs:ntfs.
#File permission error word save code#
When the above code executes, it fails on the last line ( doc.Close) with the error "Run-time error '5487': Word cannot complete the save due to a file permission error." Note that I'm not trying to save the file.Īlso, the property saved reverts to false after the error. To do this you will have to do the following steps. SQLStatement:="SELECT * FROM `" & kWorkRange & "`"ĭoc.MailMerge.Destination = wdSendToNewDocument Dim appWord As Word.Applicationĭoc.MailMerge.MainDocumentType = wdFormLetters From Excel, I attempt to create some form letters based on the data in the spreadsheet. "Word cannot complete the save due to a file permission error.I'm working in Excel 2016, using VBA. I'm just a conspiracy kind of guy I guess.Īfter the aforementioned error you will see: Errors like this can also start happening after an update.
#File permission error word save windows#
Yea, I know, you owe me BIG TIME -) Your welcome.įunny, but for me I didn't notice the problem until newer versions of Word and Windows came out and I'd downloaded a number of "Security Updates". Word File Permission Error is mainly caused when you don’t have editing privileges for the file you’re trying to save the file. Now go back to your old system and reopen it with Word. Now find a system running Linux which has Open Office or Libre Office (or reboot under Linux for you sharp cookies with dual boot systems.) Open that file with Libre Office Writer (it should open it!) and then re-save it as a. Now copy it to some place you can get to it easily - like root directory of the same jump drive. Now find a file named ~WRL***.tmp with a date/time similar to when you lost your file. First go to the folder where your file should have been, set your properties to allow you to see hidden files (Tools, Folder Options, View, under Adv settings, Show Hidden Files and Folders). BUT it's actually still there as a temporary file. The only workaround that i've found for this problem was, do the editing in the harddrive first and then 'move-and-paste' the file to the thumbdrive afterward. IF you've done something really stupid, like clicking one of the error buttons, the file likely disappeared and several weeks/months of work with it (my story). His word documents keep on disappearing or deleted for that 'file permission error' reason. WAIT for the drive to "mount" (you get the "What do you want Windows to do" pop up.) Just close the pop up and THEN click continue or cancel on the error warning. That's a mess but it works.Ĥ) IF you forget (or WHEN you forget) and have hit "save" and you get the infamous "close diskette door" or other error warning -DON"T CLICK ANYTHING! First, pull the USB drive out of the port, count off a few seconds, and then reinsert it. You can save it twice under the both names each time - that gives you a durable back up. In reply to MS word fails to save (File permission error) I had the same problem: could create a Word doc from scratch or doing a save as, but if I tried to change the doc and just do a. I'm not 100% sure but I think it will not crash if you do this.ģ) For 100% assurance use the "file save as" and change the name of the file each time you save it, ****2 and then back to ****. USB jump drive)Ģ) If you must, then ALWAYS save using the "file save as" dialog and then save it. There are several ways you can try to fix Word cannot save problem. When you encounter this problem not only will Word crash, but your original file will disappear from the file folder - bummer!ġ) don't work directly off a removable drive (e.g. The Word cannot complete the save due to a file permission error that may occur while saving files in Microsoft Word. No fix, other than updating to later word or OS, yet I have five work arounds for you. The Infamous: "Check the drive to make sure the door is closed and it contains the correct disk or CD" error using Word 03 or 07, XP or Vista (maybe others) and a removable or USB drive.