Nominal function in vb

GuillaumeJ

New Member
Joined
Mar 10, 2004
Messages
27
Hi everyone,

I would like to use the NOMINAL function (included in the Analysis vb toolpack) in one of my macros. Is there a way to have it available in vba ?

Thank you for your help
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
In case it isn't available in VBA, you could use the formulas:
Effective Rate, or APY:
APY = (1+%rate/# of periods/yr)^(# of periods/yr) - 1
Nominal rate, or rate:
Rate =((1+%APY)^(1/# of periods/yr) - 1)*(# of periods/yr)
 

GuillaumeJ

New Member
Joined
Mar 10, 2004
Messages
27
Yes, it's what I did actually but I was wondering how (or if) it is possible to get access in the VBA code to the worksheet functions included in addins, such as the analysis toolpack.
 

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
I'm sorry that I cannot help you in VBA, but, I feel that someone else, who can, will pick this up. Good luck!
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,351
Office Version
  1. 365
Platform
  1. Windows
In the VBA Editor goto Tools>References... and check atvbaen.xls.

You should then be able to use Nomimal in VBA.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,119
Messages
5,857,487
Members
431,882
Latest member
saaaaaaaaaaaaaaaaaaaaaa

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top