when i use excelreadwrite数据读写.zip (86.9 KB)
Prompt this error:
- Solution Exception: Cannot cast a COM object of type “System .__ ComObject” to interface type “Microsoft.Office.Interop.Excel.Application”. The reason why this operation failed was that calling QueryInterface on the COM component of the interface whose IID is “{000208D5-0000-0000 -C000-000000000046}” failed because of the following error: An error occurred while loading the type library/DLL. (The exception is from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
How can I solve it,Thanks in advance。