Thread: XIRR in VBA?
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don[_18_] Don[_18_] is offline
external usenet poster
 
Posts: 18
Default XIRR in VBA?

Don

This will work, however you have to reference ATPVBAEN.XLA. Select
ATPVBAEN.XLA from the references dialog Box. (i.e.Tools\References)

Yield = xirr(MYarray, MYdates, 0.08)


Don

"Don Wiss" wrote in message
...
Hi,

I see that XIRR is not a WorksheetFunction in VBA. I gather this is
because
it comes from the Analysis ToolPak. I have never checked for my Add-Ins
Analysis ToolPak - VBA. So I just did. Still XIRR doesn't seem to be
available. How do I use it in VBA?

Just what does the Analysis ToolPak - VBA add-in give me?

Don <donwiss at panix.com.