最近在做关于excel的操作问题,在服务器的某个路径下存放一个Excel模板,把接口获得的数据往excel模板里填入,经过测试,当代码执行到如下标识处,就会报错,请指教!!
报错信息:
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).