Excel read write Battery

when i use excelreadwrite数据读写.zip (86.9 KB)
Prompt this error:

  1. 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。

You probably installed a plugin in GH. You need to unblock all of the files that came with that plugin.

@AbrahamYezioro How can I operate it in detail? thank you very much.

For instance see this discussion.

For this instance i unblocked the TT Toolbox files (See location in red frame in the image).
You need to do the same for all items in the plugin you installed.

@AbrahamYezioro Sorry for not seeing the reply in time, thank you very much