How to Repair “Problem sending the command to the program” Issue in Windows PC

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?

Disable add-ons

  1. Launch the Office program that caused the error > go to the File menu > click on Options > click on Add-ons.
  2. From the Manage list at the bottom of the screen > select COM-Add-Ins > click Go.
  3. Remove one of the add-ins > click OK.
  4. Restart the Office program. If the problem persists, repeat the steps and select another add-in in step 3.
  5. Remove the add-ons one by one.

Disable hardware acceleration

  1. Click the File tab > click Options.
  2. 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

  1. Open the Microsoft Office application that caused the error and go to Options.
  2. Click the File > Preferences menu.
  3. 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.
  4. Save your changes and restart Office.

Disable the Run as administrator option

  1. Display the Start menu > enter the name of the Office program that caused the error.
  2. 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.
  3. Click the Shortcut tab > Advanced > uncheck Run this program as administrator.
  4. Apply the changes.

Repair Office

  1. Enter Programs and Features in the search box > press Enter.
  2. Click the Office program that caused the error, or the entire Office package > select Modify.
  3. Click Repair > click Continue.

Frequently Asked Questions

  1. Locate the EXCEL.EXE file.
  2. Right-click on the file and select Properties.
  3. Click the Compatibility tab.
  4. Uncheck the "Run this program in compatibility mode" box.
  5. Clear the "Run this program as administrator" checkbox.
  6. Click the Ok button.
  7. 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.