MikeAuz1979
Programmer
Hey Y'all,
Using access 2000 I have a macro that installs the analysis toolpak (which is needed for some xl sheet calcs) [the code is below] and I thought it worked fine until I tried this code on a PC that had only just had office 2000 installed and found that this code appears to only swicth on the addin if it has already been installed. (Error is "Error in installation of addin class" from memory)
Does anyone have any ideas how to reliably install addins even if they haven't been installed already?
Thanks for any help
Mike
---Code Start---
Application.AddIns("Analysis ToolPak").Installed = True
---Code End---
Using access 2000 I have a macro that installs the analysis toolpak (which is needed for some xl sheet calcs) [the code is below] and I thought it worked fine until I tried this code on a PC that had only just had office 2000 installed and found that this code appears to only swicth on the addin if it has already been installed. (Error is "Error in installation of addin class" from memory)
Does anyone have any ideas how to reliably install addins even if they haven't been installed already?
Thanks for any help
Mike
---Code Start---
Application.AddIns("Analysis ToolPak").Installed = True
---Code End---