Resolve Excel Error “An error occurred when sending commands to the program”

Microsoft Excel has become an important part of any business this helps companies to manage their crucial data easily. It gives the businesses to make the most of their data and maximizes the return on investment. This makes the importance of data more apparent. Larger firms collect larger volumes of data from multiple sources, including online sales, social media, and in-store-transactions. They need to be able to collate and analyze this information quickly and effectively. But there are many cases when the excel files get corrupted and start showing errors. Here in this article know how to resolve Excel error “An error occurred when sending commands to the program”

Symptoms of the MS Excel Error:


Follow different symptoms of the MS Excel error.

  1. The Excel workbook is trying to access data from another application which is still active.
  2. A lot of Excel add-ins has been added to the program, or any one of the add-ins has become corrupt.
  3. In this case, you have to follow any one of the following actions:
    1. Activate a button that was created by a third-party add-in or application
    2. Try to open an embedded object
    3. Save or open a file
    4. Try to use the Send as Attachment option
    5. Call another application from the Excel workbook.

You may also like: 


This error occurs when some process is running inside Excel, which is not allowing the Excel to close. This error occurs due to many possible reasons. In order to fix the problem, you have to do some manual steps that are mentioned below.


Step 1: Reset file associations


In order to check whether the file associations are performing correctly in the system, in this case, you have to reset the Excel file associations to its default settings. For this, you have to perform the following steps in your operating system.

For Windows 8 Operating System


  1. Type Control Panel on the Start screen,
  2. You can tap or select the Control Panel.
  3. Select the Default Programs, and then selectSet your default programs.
  4. Select Excel, and then select Choose default for this program.
  5. On the Set Program Associations screen, select Select All, and then select Save.
For Windows 7 Operating System


  1. Select Start, and then select Control Panel >Select Default Programs.
  2. And choose to Associate a file type or protocol with a specific program.
  3. Next, select Microsoft Excel Worksheet, and then Select change program.
  4. Under Recommended Programs, Select Microsoft Excel.
  5. If Excel does not appear in this list, click on Browse and locate the Excel installation folder, Select exe, and then select Excel.

If still, you are facing this error then follow the step mentioned below:


Step 2: You should Ignore the DDE


If you have selected the option to Ignore other applications that use Dynamic Data Exchange (DDE) check box in Excel then you may face the problem.

A dynamic data exchange (DDE) message is automatically sent to Excel when you double-click an Excel workbook in Windows Explorer. The message instructs the Excel to open the workbook when you double-click it.

Once you select the “Ignore” option, then Excel ignores the DDE messages which were sent to it by other programs. Excel does not open the workbook when you double-clicked and the Windows Explorer has ignored the DDE message which is sent to excel.

This setting can be corrected by following the steps mentioned below:

  1. From the Tools menu, select Options.
  2. Then select the General
  3. Clear the Ignore other applications that use Dynamic Data Exchange (DDE) check box, and then click OK.

If still, you are facing this issue then it can be resolved by using  MS Excel Repair Tool.


Automatic Solution: MS Excel Repair Tool


MS Excel Repair Tool is a professional recommended solution to easily repair both .xls & .xlsx file. It supports several files in one repair cycle. It is a unique tool that can repair multiple corrupted excel file at one time and also recover everything included charts, cell comments, worksheet properties and other data. This can recover the corrupt excel file to a new blank file. It is extremely easy to use and supports both Windows as well as Mac operating system.

* Free version of the product only previews recoverable data.

Steps to Utilize MS Excel Repair Tool:






Follow the given solutions one by one to fix the Excel error.

I tried my best to put together the entire working solution to fix error sending commands to program error in Excel.

Despite it, always create a valid backup of your Excel data and as well scan your system with good antivirus program for virus and malware infection.

If, in case you have any additional questions concerning the ones presented, do tell us in the comments section below or you can also visit our Repair MS Excel Ask Question

Good Luck….

Resolve Excel Error “An error occurred when sending commands to the program”
Article Name
Resolve Excel Error “An error occurred when sending commands to the program”
Follow manual solution to resolve excel error “An error occurred when sending commands to the program” but if error still persists then use repair utility
Publisher Name
Repair MS Excel Blogs
Publisher Logo

Priyanka is an entrepreneur & content marketing expert. She writes tech blogs and has expertise in MS Office, Excel, and other tech subjects. Her distinctive art of presenting tech information in the easy-to-understand language is very impressive. When not writing, she loves unplanned travels.