[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


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

Posted on 2010-09-21
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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. http://www.cpearson.com/excel/CallingWorksheetFunctionsInVBA.aspx

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

656 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