ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Analysis ToolPak - enable it programmatically? (https://www.excelbanter.com/excel-programming/348614-analysis-toolpak-enable-programmatically.html)

davidfox

Analysis ToolPak - enable it programmatically?
 

I have a spreadsheet that requires the Analysis ToolPak add-in.

But our IT Department keeps (inadvertently?) turning it off every tim
they push out new group policies.

Is there a way to enable it from within a piece of VBA code or a macro

--
davidfo
-----------------------------------------------------------------------
davidfox's Profile: http://www.excelforum.com/member.php...fo&userid=2980
View this thread: http://www.excelforum.com/showthread.php?threadid=49515


Jim Rech

Analysis ToolPak - enable it programmatically?
 
Just record a macro as you do it manually.

--
Jim
"davidfox" wrote in
message ...
|
| I have a spreadsheet that requires the Analysis ToolPak add-in.
|
| But our IT Department keeps (inadvertently?) turning it off every time
| they push out new group policies.
|
| Is there a way to enable it from within a piece of VBA code or a macro?
|
|
| --
| davidfox
| ------------------------------------------------------------------------
| davidfox's Profile:
http://www.excelforum.com/member.php...o&userid=29808
| View this thread: http://www.excelforum.com/showthread...hreadid=495152
|



davidfox[_2_]

Analysis ToolPak - enable it programmatically?
 

Great, I didn't know macros could record what you do in the menus.

The code ended up being:

AddIns("Analysis ToolPak").Installed = True

Thanks..
..d

--
davidfo
-----------------------------------------------------------------------
davidfox's Profile: http://www.excelforum.com/member.php...fo&userid=2980
View this thread: http://www.excelforum.com/showthread.php?threadid=49515



All times are GMT +1. The time now is 05:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com