Configuration & Settings
Excel Export & COM Troubleshooting
If you're seeing errors like "Unable to start Excel", "Retrieving the COM class factory", or "0x800A03EC" when exporting to Excel, this guide will help you resolve the issue.
AQT has two ways to export to Excel:
Native export — AQT writes the Excel file directly. No Excel installation required. This is the recommended approach.
COM export — AQT launches Excel to write the file. Required only if your export uses Excel macros (
xlmacro).
If you don't need macros (most users)
In the export dialog, make sure "Use Native file export" is ticked
In batch scripts, add
xlnative=yto the export line, e.g.:
This resolves the "Unable to start Excel" and "Retrieving the COM class factory" errors entirely. This uses a built-in method to create Excel files rather than relying on the installed version of Excel.
If you need macros and are getting COM errors
Confirm Excel is installed on the PC
Check Office bitness — in Excel: File > Account > About Excel — bitness is shown at the top
Use the matching AQT shortcut — AQT for 64-bit Office, AQT (32-bit) for 32-bit Office
Repair Office — Control Panel > Programs > Microsoft 365 > Modify > Online Repair, then restart the PC
Re-register Excel — open Command Prompt as Administrator and run:
If Excel is not found, you may need the full path, e.g.:
Note: this may not work with Office 365 Click-to-Run installations. If so, the Online Repair in step 4 is the better option.
Check DCOM permissions — run
dcomcnfg, navigate to Component Services > Computers > My Computer > DCOM Config, find "Microsoft Excel Application", right-click > Properties > Identity tab, set to "The Interactive User". This ensures Excel runs under the logged-in user's security context.