Windows is full of surprises when error messages like this appear unexpectedly. “There was a problem with sending command to program” usually means that the window failed to connect to MS Office applications (such as Excel, Word or Access database, etc.) when sending DDE (Dynamic Data Exchange) commands. As a result, you will not be able to launch MS Office applications.
Sometimes this error can resolve itself, since the error message appears only once and applications are launched on the second or third attempt. However, this does not mean that the error should not be dealt with, but it should be solved manually, as it can happen again.
What is the reason for the “problem with sending a command to the program” error?
- Due to a hard disk failure
- Damage or defects in Excel application
- Damage to the Microsoft Office program
- Due to the use of third-party add-ons/applications
- Adding too many add-ons to the program, as well as a corrupted add-on
How to resolve the ‘Problem sending command to program’ error message?
- Launch the Office program that caused the error > go to the File menu > click on Options > click on Add-ons.
- From the Manage list at the bottom of the screen > select COM-Add-Ins > click Go.
- Remove one of the add-ins > click OK.
- Restart the Office program. If the problem persists, repeat the steps and select another add-in in step 3.
- Remove the add-ons one by one.
Disable hardware acceleration
- Click the File tab > click Options.
- In the new dialog box, click Advanced > select Disable hardware acceleration > click OK.
Warning: After disabling hardware acceleration, performance may decrease slightly, but the error will no longer be displayed.
Disable dynamic data sharing
- Open the Microsoft Office application that caused the error and go to Options.
- Click the File > Preferences menu.
- Click the Advanced tab > scroll to the General section > disable the Ignore other applications that use dynamic data exchange (DDE) option. If this option is already disabled, you must first enable it, restart Office, and then disable the option.
- Save your changes and restart Office.
Disable the Run as administrator option
- Display the Start menu > enter the name of the Office program that caused the error.
- Right-click it > select Properties. If the Properties option is not available > select Open File Location > right-click the Office program in the new window > select Properties.
- Click the Shortcut tab > Advanced > uncheck Run this program as administrator.
- Apply the changes.
- Enter Programs and Features in the search box > press Enter.
- Click the Office program that caused the error, or the entire Office package > select Modify.
- Click Repair > click Continue.
Frequently Asked Questions
- Locate the EXCEL.EXE file.
- Right-click on the file and select Properties.
- Click the Compatibility tab.
- Uncheck the "Run this program in compatibility mode" box.
- Clear the "Run this program as administrator" checkbox.
- Click the Ok button.
- Check the status.
A DDE error has occurred and the error description cannot be displayed because it is too long. If the file name or path is too long, try renaming the file or copying it to another folder. This problem occurs when opening a file from a mapped drive, UNC path, or URL (web address).
Choose File -> Preferences. Select Advanced, scroll down to the General section, and then uncheck Ignore other applications with Dynamic Data Exchange (DDE) under General.