Retrieving COM for CLSID {0002450000000000C000000000000046} 80040154.

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154.

解决方法:

1 安装相应版本的Excel (Excel 2003/2007/2010)

2 如果已经安装了相应的Excel,卸载Excel后重新安装(完整安装)

原文地址:https://www.cnblogs.com/emanlee/p/2838011.html