What is the difference between Excel's Analysis ToolPak - VBA and just the Analysis ToolPak?

Posted on 2010-09-21
Last Modified: 2012-05-10
I can't find literature on the difference between the two Add-Ins.

Clarification would be great!
Question by:HaimD
  • 2
  • 2

Expert Comment

ID: 33727208
The VBA version includes "Visual Basic for Applications" which allows developers to build functions, automate processes, etc. Basically it lets you can create macros and such.

Author Comment

ID: 33727406
I don't understand.  I can make a macro without this add-in...

Expert Comment

ID: 33727777
It allows for programming in the Visual Basic 6 language though I think, and allows for integration with Win32.
LVL 81

Accepted Solution

byundt earned 500 total points
ID: 33727885
If you want to use the Analysis ToolPak functions in your VBA macros and functions, you should load the Analysis ToolPak - VBA add-in and set a reference to it in the VBA Editor using the Tools...References menu item. This was true in Excel 2003 and earlier. In Excel 2007 and later, you can use the functions in Analysis ToolPak directly.

If you want to use Analysis ToolPak functions in your worksheet formulas, you should load the Analysis ToolPak add-in. The VBA flavor of it never did you any good.


Author Closing Comment

ID: 33728822
I experimented with this, and yes, this is the answer I was looking for.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question