Read the ActiveCell content in Excel using VSTO

前端 未结 3 1030
青春惊慌失措
青春惊慌失措 2021-01-23 00:01

I\'m trying to read the ActiveCell from within an Excel Add-in but not getting very far. Anyone any ideas?

Excel.Window W = this.Application.ActiveWindow as Exce         


        
3条回答
  •  南笙
    南笙 (楼主)
    2021-01-23 00:18

    Is this of any use: http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f21c7cf4-fbfd-4496-a593-781eb751d580

    It suggests turning off proxies for debugging purposes, hinting that the error message you are seeing may be masking a lower level COM error.

提交回复
热议问题