Excel Error Codes

Fix Excel 2013 Error Sending a Command to the Program

Camila MilosovichCamila Milosovich Nov 27, 2026 868 views

Question details

Resolve an Excel 2013 command error when opening spreadsheets from shortcuts or email.

Fix the Excel 2013 Error Sending a Command to the Program
Product
Microsoft Excel 2013
Device & OS
Windows 8.1
Scenario
The user opens an Excel file from a shortcut or an email attachment.
Observed behavior
Excel may report a problem sending a command to the program or display a temporary-folder error.
Before you start

Save an email attachment to a local folder and try opening it from Excel using File > Open. Note whether the error also occurs when you open a local file or only when you use a shortcut or attachment.

Solution 1Recommended

Check the DDE setting and Excel file association

Use this solution when Excel opens normally but files fail to open from shortcuts or email.

1
Open Excel options

Start Excel 2013, then select File > Options > Advanced.

2
Check the DDE option

Under General, clear the checkbox for “Ignore other applications that use Dynamic Data Exchange (DDE)” if it is selected, then click OK.

3
Check the file association

In Windows Control Panel, open Default Programs > Associate a file type or protocol with a program. Check that relevant extensions, such as .xlsx, open with Excel 2013.

4
Test the file again

Close Excel, then double-click the local spreadsheet or open the saved email attachment again.

Check the DDE setting and Excel file association
Free Microsoft Office alternative

Open spreadsheets with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing compatible Excel files. It can help you move existing spreadsheets into another office suite, but it does not repair Excel 2013 or its Windows settings.

Open and edit spreadsheets without relying on Excel 2013Compatible with Microsoft Excel formats, including XLS and XLSXFamiliar spreadsheet interface for easier migrationFree and lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

What does the DDE setting do in Excel 2013?

DDE lets other applications send messages to Excel. If Excel is set to ignore those messages, files opened from outside Excel may not open as expected. Check the option under File > Options > Advanced > General.

Why does the spreadsheet open in Safe Mode but not normally?

An add-in or another startup component may be interfering. In Excel, go to File > Options > Add-ins, choose COM Add-ins from the Manage list, and click Go to test with add-ins disabled.

How can I check whether Excel can access the temporary folder?

Press Windows+R, enter %TEMP%, and click OK. Try creating a test file in the folder and check that the drive has free space.

Should I disable Protected View for an email attachment?

Do not disable it simply to bypass the error. Save the attachment locally, confirm that you trust its source, and review the reason it is blocked in File > Options > Trust Center > Trust Center Settings.

Will repairing Office delete my spreadsheets?

Office repair targets the installed Office programs rather than your spreadsheet files. Start it from Control Panel > Programs and Features by selecting Microsoft Office 2013 and clicking Change.