How to create excel add-in (excel 2003 or previous version) package with activeX dll?

后端 未结 1 2011
难免孤独
难免孤独 2021-01-27 13:54

I am new to excel add-in prgramming and I am having a existing excel add-in project need to modify.

The plug-in has 2 parts, one is programmed in VB and compiled into a

相关标签:
1条回答
  • 2021-01-27 14:45

    Welcome to DLL Hell!

    You'll have to remove the reference to the old dll.

    Have a look at: regsvr32

    1. Close Excel
    2. Click Start / Run / cmd
    3. Type regsvr32 /u [path of old dll]/[filename]
    4. Then regsvr32 [path of new dll]/[filename]

    Eg: regsvr32 /u c:\windows\system32\file.dll

    You can add /q to hide all messages

    How do you repackage it for your colleagues? There are multiple ways. Create a bat file and email it, put it as part of the logon script. Or go to each workstation and manually do it

    0 讨论(0)
提交回复
热议问题