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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

749 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