xla

How to stop Excel storing the absolute path to an XLA?

巧了我就是萌 提交于 2019-12-02 19:47:26
I have an XLA file that is to be deployed to a number of users in the organisation as an Excel add-in. My intention is to deploy it to a directory in the user's "documents and settings" folder in "Application Data\MyCompany". (In fact this is all working through a wrapper that copies the latest version of the XLA locally and installs it as an Excel add-in). However, if a user creates a sheet that references a function defined in this XLA then Excel appears to store the absolute path of the XLA in the function call. Thus, if the user sends the sheet to a colleague Excel fails to resolve the

Change .xla File with MSBuild

情到浓时终转凉″ 提交于 2019-12-01 06:40:59
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_Number. This number needs to be changed for every build. The exact steps: Open XLA document with Excel. Switch to VBEditor mode. (Alt+F11) Open VBProject, entering a password. Open modGlobal file. Change variable's default value to the current date. Close & save the project. I'm at a loss for how to automate the process. The best I can come up with is an excel macro or Auto-IT script. I could also write a custom MSBuild task,

Change .xla File with MSBuild

≯℡__Kan透↙ 提交于 2019-12-01 04:38:30
问题 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_Number. This number needs to be changed for every build. The exact steps: Open XLA document with Excel. Switch to VBEditor mode. (Alt+F11) Open VBProject, entering a password. Open modGlobal file. Change variable's default value to the current date. Close & save the project. I'm at a loss for how to automate the process. The