nkrishnan1
Programmer
I have dropped an Excel Add-In file (which I developed using Excel VBA automation) with the extension .xla in the AddIns folder under the Microsoft Office directory. The Excel Add-in mananger can correctly find the add-in and clicking Ok installs it correctly and loads custom menus I created to run the add-in. But, when I run the add-in to see it in action, I see an "Excel.exe Application Error" (suggests access violation of some form). This problem is not resolved even if I reboot the machine and try all over again.
Now, here's the MYSTERY => If I compile the code all anew in the VBA development environment, and then run the add-in , it all works fine there on. But, my goal here is to deliver this add-in as a distributable on any client machine, and source code is not available (password protected). There are two .dll references in my VBA project which I had to add for using the Ref Edit control and the ListView control. I vaguely suspect these are somehow not being early-bound when running the add-in, but somehow linking fine after one clean compilation.
Anyone got any clues what could be going wrong here ? I believe add-in code is compiled ahead of time and irrespective of machines on which it is compiled on. (Refer
Thanks in advance for any suggestions !![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
NK
Now, here's the MYSTERY => If I compile the code all anew in the VBA development environment, and then run the add-in , it all works fine there on. But, my goal here is to deliver this add-in as a distributable on any client machine, and source code is not available (password protected). There are two .dll references in my VBA project which I had to add for using the Ref Edit control and the ListView control. I vaguely suspect these are somehow not being early-bound when running the add-in, but somehow linking fine after one clean compilation.
Anyone got any clues what could be going wrong here ? I believe add-in code is compiled ahead of time and irrespective of machines on which it is compiled on. (Refer
Thanks in advance for any suggestions !
NK