Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Office Doesn't Recognize the Command It Was Given

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If Microsoft Office says it doesn't recognize a command, the fix is usually to repair the Office installation or reset the app's settings. Start by closing all Office apps, then run the built-in Quick Repair tool from Windows Settings. If that doesn't work, run the Online Repair. For persistent issues, check for corrupted add-ins, reset Office's default settings, or reinstall Office.

What You'll Need

  • Windows PC with Microsoft Office installed (steps are for Windows 10/11)
  • Internet connection for Online Repair
  • Your Microsoft account credentials (if you need to sign in after repair)
  • Admin rights on the PC (to run repairs)

Step-by-Step

  1. Close all Office apps. Make sure Word, Excel, Outlook, and any other Office programs are fully closed. Check the system tray for background Office icons and quit them too.
  2. Run the Quick Repair. Press Windows + I to open Settings, go to Apps > Installed apps (or Apps & features on older Windows). Find Microsoft 365 or your Office version in the list, click the three dots (or the app name) and choose Modify. In the pop-up, select Quick Repair and click Repair. Follow the on-screen prompts. This takes a few minutes and does not delete your files.
  3. If Quick Repair doesn't fix it, run Online Repair. Repeat the same steps, but choose Online Repair instead. This requires a stable internet connection and may take longer (up to 30 minutes). It will reinstall Office and can fix deeper issues.
  4. Check for add-ins. If the error persists after repair, an add-in might be interfering. Open an Office app (like Word), go to File > Options > Add-ins. At the bottom, next to Manage, select COM Add-ins and click Go. Uncheck all add-ins, click OK, and restart the app. If the command works now, re-enable add-ins one by one to find the culprit.
  5. Reset Office settings. Sometimes corrupted settings cause the issue. Close all Office apps. Press Windows + R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0 (the version number may differ; 16.0 is for Office 2016 and later). Right-click the Word or Excel key (depending on the app) and choose Export to back it up. Then delete that key. Restart the app—it will recreate default settings. Note: this resets your personal settings like recent files and customizations.
  6. Repair or reinstall via Control Panel (if the above fails). Open Control Panel, go to Programs and Features, find your Office entry, right-click and choose Change. Select Quick Repair or Online Repair as before. If nothing works, uninstall Office completely and reinstall from your Microsoft account (account.microsoft.com) or the Microsoft Store.
  7. Update Office. After any repair, open an Office app, go to File > Account > Update Options > Update Now to ensure you have the latest fixes.

Common Mistakes

  • Skipping the Quick Repair and going straight to Online Repair – Quick Repair is faster and often sufficient; Online Repair is more thorough but takes longer.
  • Not closing all Office apps before repairing – If any Office process is running, the repair may fail or be incomplete.
  • Deleting registry keys without backing up – Always export the key first to avoid losing custom settings permanently.
  • Assuming the error is always an Office problem – Sometimes the issue is with Windows itself, so check for Windows updates if the repair doesn't help.

Tips

  • Run the repair as an administrator to avoid permission issues.
  • If you have a third-party antivirus, temporarily disable it during the repair, as it can interfere with the process.
  • Keep your Office installation up to date to prevent many command recognition issues.
  • If the problem only happens in one specific file, the file might be corrupted. Try opening it in a different app or copying the content to a new file.

Troubleshooting

If the repair steps above don't resolve the issue:

  • Check Windows updates. Go to Settings > Windows Update and install any pending updates. Restart your PC and try Office again.
  • Run the Office app in Safe Mode. Press Windows + R, type winword /safe (for Word) or excel /safe (for Excel), and press Enter. If the command works in Safe Mode, the problem is likely an add-in or a customization. Disable add-ins as described earlier.
  • Check for conflicting software. Some third-party tools (like PDF printers or document managers) can interfere with Office. Temporarily uninstall recently added software and test.
  • If the error mentions a specific command, look it up. For example, if you get "Office doesn't recognize the command 'xyz'", it might be a macro or a custom ribbon command. Check if the command exists in the app's default ribbon.
  • As a last resort, uninstall Office completely. Go to Settings > Apps, find Office, and click Uninstall. Then reinstall from your Microsoft account. This will remove all Office data, but your documents are safe.

Frequently Asked Questions

Why does Office say it doesn't recognize a command?

This usually happens when the Office installation is corrupted, a registry entry is damaged, or an add-in is conflicting with the app's internal commands.

Will the repair delete my documents?

No. Quick Repair and Online Repair do not delete your personal files. They only fix the Office program files. However, resetting Office settings (registry key deletion) will remove your custom preferences, not your documents.

How long does the Online Repair take?

It can take anywhere from 15 to 30 minutes, depending on your internet speed and the size of the Office installation.

Can I fix this on a Mac?

The steps above are for Windows. On a Mac, you can use the Microsoft AutoUpdate tool (check for updates) or reinstall Office from the Microsoft website. If the issue persists, try resetting the app's preferences by deleting the com.microsoft.Word.plist file (after backing it up).

Is there a way to prevent this from happening again?

Keep Office updated, avoid installing too many add-ins, and regularly run the built-in repair tool if you notice odd behavior.

What if the error occurs only when I use a specific keyboard shortcut?

That might be a shortcut conflict. Go to File > Options > Customize Ribbon > Keyboard Shortcuts (bottom of the dialog) and reset or reassign the shortcut.