Table of Contents
About the Author
Reviews and Awards
- Video Recovery
- SD Card Recovery
- Recycle Bin Recovery
- Recover Data from USB
- Recover Deleted Emails
- Hard Drive Not Showing Up in Windows
- Recover Unsaved Word Documents
- Recover Deleted Files in Windows 10/11
- Recover Files from Virus Infected Hard Drive
- Best Free Photo Recovery Software
- Recover Files from Formatted Hard Drive
The runtime error is a common error that usually occurs on all versions of Windows-based operating systems, such as Word and Excel. It is not a single error but happens with different error codes, for example, Excel runtime error 1004 and Word runtime error 53.
Workable Solutions | Step-by-step Troubleshooting |
---|---|
Fix 1. Repair Word Documents | Download and install EaseUS Data Recovery Wizard. From the software's main screen...Full steps |
Fix 2. Change DCOMCnfg.exe | Search DCOMCnfg.exe in the Windows search bar and hit Enter. The Component Services...Full steps |
Fix 3. Give Full Control | Run Windows as administrator. In Windows Explorer browse to the FRx...Full steps |
Fix 4. Disable Add-ins | Close Word, press the Windows and R keys at the same time to open the Run box...Full steps |
This error is very tricky, as it doesn't describe what problems that cause it and what makes it show up. Fortunately, for Word runtime error 91, there are exact reasons and effective solutions. Keep reading and check more details.
What's The Reason for Word Runtime Error 91?
The reason why you would see a pop-up window, saying "Runtime Error 91: Object variable or with block variable not set" is that the DCOMCnfg.exe file might be corrupted. The DCOMCnfg.exe file is usually used to configure permissions and set system-wide security settings. When there's a problem with this file, it will prevent your system from being able to load the files it requires to run, and that's when you see the runtime error 91.
To fix this runtime error, we found four effective methods. We will introduce them one by one with detailed steps. You can apply these methods to try to solve the problem by yourself.
Fix 1. Repair Damaged Word Documents to Fix Error 91
Many accidental scenarios would cause the corruption of Word files, for example, partition loss, OS crash, virus attack, unexpected formatting, etc. If you are in any of the mentioned scenarios, you might need dedicated Word repair software. One such tool is for Windows 10 is the EaseUS Data Recovery Wizard which has a high success rate and remains easy to use.
It repairs corrupted Word .doc and .docx files and recovers the complete file data, maintaining the original formatting. It's the best Microsoft Office repair toolkit to fix any kind of corruption from Microsoft Word files.
You can download the EaseUS Data Recovery Wizard from the button below, and then use the following steps to recover and repair your Word files.
Step 1. Launch EaseUS Data Recovery Wizard, and then scan disk with corrupted documents. This software enables you to fix damaged Word, Excel, PPT, and PDF files in same steps.

Step 2. EaseUS data recovery and repair tool will scan for all lost and corrupted files. You can find the target files by file type or type the file name in the search box.

Step 3. EaseUS Data Recovery Wizard can repair your damaged documents automatically. After file preview, you can click "Recover" to save the repaired Word, Excel, and PDF document files to a safe location.

Fix 2. Change DCOMCnfg.exe Settings
As the DCOMCnfg.exe is usually the one to be blamed, the first method we suggest you try is to change its Settings.
Step 1. Search DCOMCnfg.exe in the Windows search bar and hit Enter.
Step 2. The Component Services window will pop up. Expand the following: Component Services > Computers.
Step 3. You can see the "My Computer" option. Right-click on it and click Properties.
Step 4. Click the "COM Security" tab and under Access Permissions click Edit Limits.
Step 5. Pick Everyone from the groups and make sure that Local and Remote Access is set to Allow.
Fix 3. Give Full Control to the FRxXMLTag.XML file
In case the Runtime Error 91 is followed by the Error 5999, you should perform the following steps:
Step 1. Run Windows as administrator.
Step 2. In Windows Explorer browse to the FRx directory.
Step 3. Right-click on the FRxXMLTag.XML file and select Properties.
Step 4. Click the Security tab, add the group Everyone, and select Full Control. Click OK to finish.
Fix 4. Disable Add-ins to Fix Word Runtime Error
The third method you can try is to disable the add-ins. The add-in in Word is a program that can be attached to Word to give it additional functionality. An add-in can be thought of as a template that is always loaded when Word is open. So if the add-ins are corrupted, you can also see the runtime error 91. Now, follow the steps below to disable add-ins.
Step 1. Close Word, press the Windows and R keys at the same time to open the Run box.
Step 2. Type winword /safe in the Run box to open Word in Safe Mode.
Step 3. Click "File" > "Options" > "Add-ins". Select "COM Add-ins", and click "Go".
Step 4. Uncheck all the add-ins in the list, and click "OK". Then restart Word.
If the Word runs normally, re-enable the add-ins one by one until Word not opening issue happens again. Thus, you may find out which add-in is the culprit.
The Bottom Line
The reason for runtime error various, but for Word runtime error 91, this article gives you both the causes and the solutions. Try the given solutions, and see if you can fix the issue on your own. What's more, if you are interested in Word recovery, you can download Stellar Repair for Word and have a free trial.
Was This Page Helpful?

Brithny is a technology enthusiast, aiming to make readers' tech life easy and enjoyable. She loves exploring new technologies and writing technical how-to tips. On her spare time, she loves sharing things about her favorite singer - Taylor Swift on her Facebook or Twitter.

Approved by Evan Galasso
Evan Galasso is a digital forensics and data recovery engineer with over 10 years of experience in the field. He presents opinions on the current state of storage media, reverse engineering of storage systems and firmware, and electro-mechanical systems of SSDs and HDDs.
-
EaseUS Data Recovery Wizard is a powerful system recovery software, designed to enable you to recover files you’ve deleted accidentally, potentially lost to malware or an entire hard drive partition.
Read More -
EaseUS Data Recovery Wizard is the best we have seen. It's far from perfect, partly because today's advanced disk technology makes data-recovery more difficult than it was with the simpler technology of the past.
Read More -
EaseUS Data Recovery Wizard Pro has a reputation as one of the best data recovery software programs on the market. It comes with a selection of advanced features, including partition recovery, formatted drive restoration, and corrupted file repair.
Read More
Related Articles
-
CR2 Photos Not Opening, How Do I Fix and Open CR2? Your Guide Is Here
Tracy King/2022/09/22
-
4 Efficient Ways Are Ready! Fix Compile Error in Hidden Module
Gemma/2022/09/22
-
How Long Will An SSD Hold Data Without Power (SSD Lifespan)
Brithny/2022/09/22
-
2023 Guide: How to Recover Deleted Files from Pen Drive in 3 Ways
Daisy/2022/12/06