Excel Error Codes

Fix Runtime Error 5 in the Excel EIA Add-In

Olivia MillerOlivia Miller Dec 2, 2026 869 views

Question details

Resolve Runtime Error 5 when using Search Data in the EIA Excel add-in.

Fix Runtime Error 5 in the Excel EIA Add-In
Product
Microsoft Excel with the EIA Excel add-in
Device & OS
not provided
Scenario
The user selects Search Data in the EIA add-in to retrieve data in Excel.
Observed behavior
Excel displays Runtime Error 5: Invalid procedure call or argument.
Before you start

Note when the error appears and identify your Excel version and architecture under File > Account > About Excel. Check the EIA add-in's requirements against your Office and operating system versions.

Solution 1Recommended

Disable the EIA add-in and test Excel

Use this test to isolate the add-in from other Excel problems.

1
Open add-in settings

In Excel, select File > Options > Add-ins. At the bottom, choose Excel Add-ins in the Manage list and select Go.

2
Disable the EIA add-in

Clear the checkbox for the EIA add-in and select OK. If it is not listed, check Manage > COM Add-ins > Go instead.

3
Restart and test Excel

Close and reopen Excel, then test ordinary workbook actions. Re-enable the add-in from the same Add-ins dialog and select Search Data to see whether the error returns.

Disable the EIA add-in and test Excel
Interpreting the test: Search Data may not be available while the add-in is disabled. If the error returns only after you re-enable it, focus on the add-in and its compatibility.
Free Microsoft Office alternative

Work with spreadsheets in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easy to move existing files into a different workspace. It does not repair Excel or guarantee compatibility with the EIA add-in.

Open and edit spreadsheet data in WPS SpreadsheetsWork with Microsoft Excel XLS and XLSX filesUse a familiar interface for common spreadsheet tasksMove existing Office documents into a lightweight workspace
microsoft office alternative - wps office

Frequently Asked Questions

What does Runtime Error 5 mean in the EIA add-in?

It means a procedure received an invalid call or argument. In this case, it appears when Search Data is selected; the add-in, compatibility, or the Excel environment may need investigation.

How do I check whether Excel is 32-bit or 64-bit?

In Excel, select File > Account > About Excel. The About window lists the Office version and architecture.

Where can I disable the EIA add-in?

Select File > Options > Add-ins, choose Excel Add-ins under Manage, and select Go. Clear the EIA add-in checkbox. If it is not listed there, check COM Add-ins in the Manage list.

Will WPS Office fix the EIA add-in error in Excel?

No. WPS Office is an alternative for working with spreadsheet files, but it does not repair Microsoft Excel or guarantee support for the EIA add-in.