Updated March 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
Typically, Windows users get the error message “There was a problem sending a command to an excel program“. So you’re not alone. Windows usually sends commands to MS Office via dynamic data exchange. However, if Windows can’t connect to Microsoft Excel, this annoying error occurs.
If you click OK, the problem is resolved. However, when you restart your computer, the error appears again. If the error occurs every time you open a file, you need to fix the problem.
What causes the “problem sending a command to the program” error?
When Windows sends DDE (Dynamic Data Exchange) commands to Microsoft Office applications, but the operating system cannot connect to the application, an error occurs: there is a problem sending a command to the program.
- Autocad error.
- Microsoft Office error
- Microsoft Excel file error
- Problem with Windows PC
- Problem with Internet Explorer
- Microsoft Word file error problem
How to repair ‘problem sending a command to the program’ error message?
Disabling the “Run as administrator”
- Go to the Start menu and enter the name of the program that caused the problem.
- Right-click on the program and select Open File Location.
- Now right-click the program again and select Properties.
- Click the Compatibility tab and uncheck the “Run this program as an administrator” box.
- Click Apply and then OK to save your changes.
- Restart your computer and try running the program again to see if the problem can be resolved.
Restoring Microsoft Office
- Press Windows + R, type appwiz.CPL and press Enter to open Programs and Features.
- Now find Microsoft Office in the list, right-click it and select Edit.
- Select the Restore option, and then click Continue.
- Once the restore is complete, restart your computer to save your changes.
Disable hardware acceleration
- Launch any Office program, then click Office ORB or the File tab and select Options.
- Select Advanced from the left-hand menu and scroll down to the Display section.
- Under Display, uncheck Disable Hardware Accelerated Graphics.
- Select OK and restart your computer to save your changes.
Temporarily disable the antivirus software
- Right-click the antivirus software icon in the taskbar and select Disable.
- Then select the period of time you want the antivirus software to remain disabled.
- Select the lowest possible period, such as 15 minutes or 30 minutes.
- Then try opening Microsoft Excel again and see if the error is fixed or not.
Disable Dynamic Data Exchange (DDE)
- Open Microsoft Excel and click on Office ORB (or the FILE menu) and then on Excel Options.
- Now select Advanced from the left-hand Excel Options menu.
- Scroll down to the bottom General section and uncheck “Ignore other applications that use Dynamic Data Exchange (DDE)”.
- Click Ok to save your changes and restart your computer.
Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here
Frequently Asked Questions
- Disable dynamic data exchange.
- Disable the "Run as administrator" option.
- Repair bureau.
- Disable antivirus software.
- Disable add-ons.
- Disable hardware acceleration.
- Reconcile similar registry keys.
- Remove the Windows compatibility package.
The message "There was a problem sending a command to a program" usually means that it was unable to connect to MS Office applications (for example, Excel, Word or Access database, etc.) when sending them DDE (Dynamic Data Exchange) commands.
In safe mode, you can start Excel without encountering any special startup programs. You can open Excel in safe mode by holding the Ctrl key when starting the program or by using the /safe switch (excel.exe /safe) when starting the program from the command line.