PC Review


Reply
Thread Tools Rate Thread

Analysis ToolPak

 
 
=?Utf-8?B?U2VjcmV0IFNxdWlycmVs?=
Guest
Posts: n/a
 
      13th Sep 2007
I'm using some formulas that have to be used with the addin "Analysis
Toolpak". I have users that use versions 2000, 2003, & 2007. How do I get
this addin to automatically load with my file? I've had to go around and load
that addin on everyone's pc. Is there an easier way?
 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      13th Sep 2007

'In my free "Math Practice" workbook, I have the user load the add-in...
'ThisWorkbook module...

Private Sub Workbook_Open()
'Jim Cone - San Francisco, USA - March 2007
'http://www.realezsites.com/bus/primitivesoftware
'Checks for the Analysis ToolPak. Calls IsItOpen sub.
On Error GoTo MakeNoise
If IsItOpen("FUNCRES.XLA") = False Then
Application.Cursor = xlDefault
MsgBox "The Analysis ToolPak add-in is required." & vbCr & _
"Go to the Tools menu and select Add-Ins. " & vbCr & _
"Checkmark... Analysis ToolPak.", vbInformation, "Math Practice"
End If
Exit Sub
MakeNoise:
Beep
Resume Next
End Sub
'--

'Standard module...

Function IsItOpen(ByRef strName As String) As Boolean
'Called by the Workbook_Open event.
'Checks for the Analysis ToolPak).
On Error Resume Next
Dim WB As Excel.Workbook
Set WB = Excel.Workbooks(strName)
IsItOpen = (Err.Number = 0)
Set WB = Nothing
End Function
--

The "Math Practice" workbook is available upon direct request to
those with a real name and geographic location.
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Secret Squirrel"
wrote in message
I'm using some formulas that have to be used with the addin "Analysis
Toolpak". I have users that use versions 2000, 2003, & 2007. How do I get
this addin to automatically load with my file? I've had to go around and load
that addin on everyone's pc. Is there an easier way?
 
Reply With Quote
 
=?Utf-8?B?U2VjcmV0IFNxdWlycmVs?=
Guest
Posts: n/a
 
      14th Sep 2007
Thanks Jim. Do I put that into a module in the workbook?

"Jim Cone" wrote:

>
> 'In my free "Math Practice" workbook, I have the user load the add-in...
> 'ThisWorkbook module...
>
> Private Sub Workbook_Open()
> 'Jim Cone - San Francisco, USA - March 2007
> 'http://www.realezsites.com/bus/primitivesoftware
> 'Checks for the Analysis ToolPak. Calls IsItOpen sub.
> On Error GoTo MakeNoise
> If IsItOpen("FUNCRES.XLA") = False Then
> Application.Cursor = xlDefault
> MsgBox "The Analysis ToolPak add-in is required." & vbCr & _
> "Go to the Tools menu and select Add-Ins. " & vbCr & _
> "Checkmark... Analysis ToolPak.", vbInformation, "Math Practice"
> End If
> Exit Sub
> MakeNoise:
> Beep
> Resume Next
> End Sub
> '--
>
> 'Standard module...
>
> Function IsItOpen(ByRef strName As String) As Boolean
> 'Called by the Workbook_Open event.
> 'Checks for the Analysis ToolPak).
> On Error Resume Next
> Dim WB As Excel.Workbook
> Set WB = Excel.Workbooks(strName)
> IsItOpen = (Err.Number = 0)
> Set WB = Nothing
> End Function
> --
>
> The "Math Practice" workbook is available upon direct request to
> those with a real name and geographic location.
> Jim Cone
> San Francisco, USA
> http://www.realezsites.com/bus/primitivesoftware
> (Excel Add-ins / Excel Programming)
>
>
>
>
> "Secret Squirrel"
> wrote in message
> I'm using some formulas that have to be used with the addin "Analysis
> Toolpak". I have users that use versions 2000, 2003, & 2007. How do I get
> this addin to automatically load with my file? I've had to go around and load
> that addin on everyone's pc. Is there an easier way?
>

 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      14th Sep 2007

Put the code following the line "ThisWorkbook module" in the ThisWorkbook module.
Put the code following the line "Standard module" in a standard module.
Jim Cone


"Secret Squirrel"
<(E-Mail Removed)>
wrote in message
Thanks Jim. Do I put that into a module in the workbook?

 
Reply With Quote
 
=?Utf-8?B?U2VjcmV0IFNxdWlycmVs?=
Guest
Posts: n/a
 
      14th Sep 2007
Will this prompt the user to select the add-in? If so is there a way to do it
programatically without the user having to select it?

"Jim Cone" wrote:

>
> 'In my free "Math Practice" workbook, I have the user load the add-in...
> 'ThisWorkbook module...
>
> Private Sub Workbook_Open()
> 'Jim Cone - San Francisco, USA - March 2007
> 'http://www.realezsites.com/bus/primitivesoftware
> 'Checks for the Analysis ToolPak. Calls IsItOpen sub.
> On Error GoTo MakeNoise
> If IsItOpen("FUNCRES.XLA") = False Then
> Application.Cursor = xlDefault
> MsgBox "The Analysis ToolPak add-in is required." & vbCr & _
> "Go to the Tools menu and select Add-Ins. " & vbCr & _
> "Checkmark... Analysis ToolPak.", vbInformation, "Math Practice"
> End If
> Exit Sub
> MakeNoise:
> Beep
> Resume Next
> End Sub
> '--
>
> 'Standard module...
>
> Function IsItOpen(ByRef strName As String) As Boolean
> 'Called by the Workbook_Open event.
> 'Checks for the Analysis ToolPak).
> On Error Resume Next
> Dim WB As Excel.Workbook
> Set WB = Excel.Workbooks(strName)
> IsItOpen = (Err.Number = 0)
> Set WB = Nothing
> End Function
> --
>
> The "Math Practice" workbook is available upon direct request to
> those with a real name and geographic location.
> Jim Cone
> San Francisco, USA
> http://www.realezsites.com/bus/primitivesoftware
> (Excel Add-ins / Excel Programming)
>
>
>
>
> "Secret Squirrel"
> wrote in message
> I'm using some formulas that have to be used with the addin "Analysis
> Toolpak". I have users that use versions 2000, 2003, & 2007. How do I get
> this addin to automatically load with my file? I've had to go around and load
> that addin on everyone's pc. Is there an easier way?
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      14th Sep 2007
Private Sub Workbook_Open()
AddIns("Analysis ToolPak").Installed = True
End Sub


Gord Dibben MS Excel MVP

On Thu, 13 Sep 2007 16:22:01 -0700, Secret Squirrel
<(E-Mail Removed)> wrote:

>Will this prompt the user to select the add-in? If so is there a way to do it
>programatically without the user having to select it?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 Analysis ToolPak Regression Analysis Help Requested MH Microsoft Excel Worksheet Functions 1 28th Feb 2009 07:16 AM
Analysis Toolpak-Confidence Level and data analysis questions MH Microsoft Excel Worksheet Functions 0 3rd Jan 2009 06:15 PM
'Analysis Toolpak' is checked, but 'Data Analysis' did not appear =?Utf-8?B?d29uZGVyaW5n?= Microsoft Excel Crashes 0 16th Aug 2005 02:07 AM
Analysis ToolPak installed but no Data Analysis option =?Utf-8?B?RXJpYyBTdGVwaGVucw==?= Microsoft Excel Misc 3 2nd Feb 2005 09:17 PM
Analysis ToolPak =?Utf-8?B?Sg==?= Microsoft Excel Worksheet Functions 3 19th Nov 2003 01:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:27 AM.