Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default Install Analysis ToolPak

Several people will be using one Excel file. I need the Analysis ToolPak
installed on everyone's machine and would like to add it to the Workbook_Open
event. Can someone please tell me how to write that code? I've searched and
tried several ways to no avail. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Install Analysis ToolPak

The word "install" is ambiguous when it comes to Add-Ins. Does the Analysis
ToolPak (ATP) already exist on the users' machines and all that needs to be
done is load the ATP (which uses a property called "Installed")? Or do you
need to install the ATP add-in file itself on the users' machine and then
load it?

The former is much simpler than the latter.

Sub Auto_Open()
Application.AddIns("Analysis ToolPak").Installed = True
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Alex" wrote in message
...
Several people will be using one Excel file. I need the Analysis ToolPak
installed on everyone's machine and would like to add it to the
Workbook_Open
event. Can someone please tell me how to write that code? I've searched
and
tried several ways to no avail. Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Install Analysis ToolPak

Alex

In your workbook_open code

AddIns("Analysis ToolPak").Installed = True


Gord Dibben MS Excel MVP

On Tue, 11 Dec 2007 12:30:01 -0800, Alex wrote:

Several people will be using one Excel file. I need the Analysis ToolPak
installed on everyone's machine and would like to add it to the Workbook_Open
event. Can someone please tell me how to write that code? I've searched and
tried several ways to no avail. Thanks.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Force Re-Install of Analysis Toolpak? Will[_3_] Excel Discussion (Misc queries) 2 October 8th 08 09:29 PM
Code to install Analysis ToolPak at Workbook Open robs3131 Excel Programming 2 October 9th 07 03:37 AM
Can't install Analysis ToolPak for Office XP mk Setting up and Configuration of Excel 2 December 31st 06 12:54 AM
Why does PHStats *NOT* install when I install Analytical ToolPak? webeditor-coutre Setting up and Configuration of Excel 1 July 5th 05 06:58 AM
Cannot install Excel 2002 Analysis Addin Toolpak robbyn Excel Programming 2 January 30th 04 11:41 PM


All times are GMT +1. The time now is 07:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"