Change .xla File with MSBuild

后端 未结 3 1638
离开以前
离开以前 2021-01-13 20:54

I\'m trying to create a build script for my current project, which includes an Excel Add-in. The Add-in contains a VBProject with a file modGlobal with a variable version_N

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-13 21:29

    You can modify the code in the xla programmatically from within Excel. You will need a reference to the 'Microsoft Visual Basic for Applications Extensibility..' component.

    The examples on Chip Pearson's excellent site should get you started.

提交回复
热议问题