Hi Guys,
I have an add-in (.xlam) file built from scratch. The add-in contains various macros which are currently in a beta stage and several more will be added in the not-too-distant future
This add-in will be used by anywhere from 10-500 users, the majority of which have less than basic excel skills, and so I needed to achieve the following things:
1. Have the add-in auto install to their local add-in filepath from the shared drive ‘master copy’.
- Achieved by saving the add-in in a shared location and then having a copy of this also in a shared location name ‘GroundAddin_INSTALL.xlam’. When double clicked, the file automatically installs in the local add-in filepath.
2. Have a custom ribbon tab which also automatically appears after being installed, displaying clear buttons for each macro.
- Achieved following this guide —> https://wellsr.com/vba/2019/excel/how-to-make-custom-vba-ribbons-in-excel/…
Although I understand they may be easier solutions using programmes like RibbonX. Unfortunately that won’t work for me since my work doesn’t allow programmes to be downloaded from the internet.
3. Upon opening, the add-in checks itself against the ‘master copy’ to see a more up to date version is available. If so, the version installed in the users drive uninstalls, and the more up to date version is installed.
- Aaaand this is where I’m stumped. I literally have no clue how to do this… I can’t be the only person who’s come across this problem, but can’t find anything online. I’ve read a few forum where they discuss running the add-in directly from the shared drive. Again, no clue how to do this, and also I worry with up 500 users there might be some issues with everyone feeding off the same file. I would much prefer each user has their own version locally.
I know this isn’t the solution, nor the correct syntax. I’ve been trying to crack this for probably 60 hours continuous and I’m wearing thin mentally. But essentially this is how I see it playing out:
Workbook_Open ()
Checks P:/Shared/AddIn/GroupAddin.xlam version is > U:/CitrixProfile/Applications/Microsoft/AddIns/GroupAddin.XLAM version
If true
uninstall AddIn.GroupAddin
delete U:/CitrixProfile/Applications/Microsoft/AddIns/GroupAddin.XLAM
Install P:/Shared/AddIn/GroupAddin.xlam
Thanks in advance, I really appreciate and support, guidance, reference to other forums or the answer.
Sam
I have an add-in (.xlam) file built from scratch. The add-in contains various macros which are currently in a beta stage and several more will be added in the not-too-distant future
This add-in will be used by anywhere from 10-500 users, the majority of which have less than basic excel skills, and so I needed to achieve the following things:
1. Have the add-in auto install to their local add-in filepath from the shared drive ‘master copy’.
- Achieved by saving the add-in in a shared location and then having a copy of this also in a shared location name ‘GroundAddin_INSTALL.xlam’. When double clicked, the file automatically installs in the local add-in filepath.
2. Have a custom ribbon tab which also automatically appears after being installed, displaying clear buttons for each macro.
- Achieved following this guide —> https://wellsr.com/vba/2019/excel/how-to-make-custom-vba-ribbons-in-excel/…
Although I understand they may be easier solutions using programmes like RibbonX. Unfortunately that won’t work for me since my work doesn’t allow programmes to be downloaded from the internet.
3. Upon opening, the add-in checks itself against the ‘master copy’ to see a more up to date version is available. If so, the version installed in the users drive uninstalls, and the more up to date version is installed.
- Aaaand this is where I’m stumped. I literally have no clue how to do this… I can’t be the only person who’s come across this problem, but can’t find anything online. I’ve read a few forum where they discuss running the add-in directly from the shared drive. Again, no clue how to do this, and also I worry with up 500 users there might be some issues with everyone feeding off the same file. I would much prefer each user has their own version locally.
I know this isn’t the solution, nor the correct syntax. I’ve been trying to crack this for probably 60 hours continuous and I’m wearing thin mentally. But essentially this is how I see it playing out:
Workbook_Open ()
Checks P:/Shared/AddIn/GroupAddin.xlam version is > U:/CitrixProfile/Applications/Microsoft/AddIns/GroupAddin.XLAM version
If true
uninstall AddIn.GroupAddin
delete U:/CitrixProfile/Applications/Microsoft/AddIns/GroupAddin.XLAM
Install P:/Shared/AddIn/GroupAddin.xlam
Thanks in advance, I really appreciate and support, guidance, reference to other forums or the answer.
Sam