Captain Sparky
New Member
- Joined
- Feb 5, 2015
- Messages
- 2
Hello,
I have a .xla addin I've made to control user access to a particular set of documents shared on a network drive. I want to make the .xla check the network drive for a newer version of itself each time excel is opened and if it finds a newer version either copy it over itself, or copy the VBA code into itself.
I don't want to reference all of the users' computers to the network location of the addin so that it will still work on each individual computer in the event that the network goes down, or if someone needs to pull a worksheet down to their laptop and work on it while away from the office.
Currently I have all of the mechanics working of copying the file over to the proper location when needed, and saving it with a new name, since you can't overwrite the addin while it's in use (aka whenever excel is open). I could get around this by having excel activate VBA code in a word document, close all excel sessions, and then have Word complete the file copy, but if I could have it work smoothly in the background without effecting the user I would prefer that.
Any help would be greatly appreciated!
I have a .xla addin I've made to control user access to a particular set of documents shared on a network drive. I want to make the .xla check the network drive for a newer version of itself each time excel is opened and if it finds a newer version either copy it over itself, or copy the VBA code into itself.
I don't want to reference all of the users' computers to the network location of the addin so that it will still work on each individual computer in the event that the network goes down, or if someone needs to pull a worksheet down to their laptop and work on it while away from the office.
Currently I have all of the mechanics working of copying the file over to the proper location when needed, and saving it with a new name, since you can't overwrite the addin while it's in use (aka whenever excel is open). I could get around this by having excel activate VBA code in a word document, close all excel sessions, and then have Word complete the file copy, but if I could have it work smoothly in the background without effecting the user I would prefer that.
Any help would be greatly appreciated!