Interprocess Communication between Excel & C# Application?

后端 未结 2 1200
感动是毒
感动是毒 2021-01-22 07:04

I was wondering if there was a way to set up communication between an instance of excel and a C# Application. For instance, when a cell value changes, I would like to send the u

2条回答
  •  感动是毒
    2021-01-22 07:19

    You need the Office Primary Interop Assemblies, which are a .Net wrapper for the COM API exposed by MS Office. You can consume events through these, so you might be able to set up a listener that will capture the event that you want.

提交回复
热议问题