Is there a better way (besides COM) to remote-control Excel?

前端 未结 5 428
有刺的猬
有刺的猬 2021-01-07 08:55

I\'m working on a regression-testing tool that will validate a very large number of Excel spreadsheets. At the moment I control them via COM from a Python script using the l

5条回答
  •  悲哀的现实
    2021-01-07 09:40

    There is no way that completely bypasses COM. You can use VSTO (Visual Studio Tools for Office), which has nice .NET wrappers on the COM objects, but it is still COM underneath.

提交回复
热议问题