Fix Runtime Error 5 in the Excel EIA Add-In
Question details
Resolve Runtime Error 5 when using Search Data in the EIA Excel 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.
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.
Disable the EIA add-in and test Excel
Use this test to isolate the add-in from other Excel problems.
In Excel, select File > Options > Add-ins. At the bottom, choose Excel Add-ins in the Manage list and select Go.
Clear the checkbox for the EIA add-in and select OK. If it is not listed, check Manage > COM Add-ins > Go instead.
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.

Reinstall a compatible EIA add-in
Use this approach if the error is tied to the EIA add-in.
Update and repair Microsoft Office
Try an Office update or repair if Excel has other problems or reinstalling the add-in does not resolve the error.
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.

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.




