LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default XIrr in VBA error

Sorry about that, I didn't seem to find my initial post on the list of recent
posts, and I thought I would better post it again lest I may have made a
mistake in the initial process.

Thank you again, Chip
--
Any help will be appreciated.

Regards,

CyberBuzzard


"Chip Pearson" wrote:

I replied to your post an hour ago. What I wrote was....


To call functions in the ATP, once you have set a reference to
the Add-In, simply call them by name, without any prefixing.

rngXIrr = XIrr(...)

If there is a possibility of name collision (e.g., you have a
function with the same name as an ATP function), you can prefix
the function with the library name:

rngXIrr = [atpvbaen.xls].XIrr(...)



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"CyberBuzzard" wrote in message
...
I have setup the reference to ATPVBAEN.XLS in my project, the
Add-In is
installed in Excel, I also found the function in the Object
Browser under
atpvbaen.xls.VBA Functions and Subs.

Nevertheless I can't make my code work, getting the "Object
doesn't support
this property or method" prompt, when writen like this:

rngXIrrCalc =
Application.WorksheetFunction.XIrr(rng1, rng2)

I would greatly appreciate if someone can help me with this.

--
Any help will be appreciated.

Regards,

CyberBuzzard




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XIRR value error Linda G. Excel Discussion (Misc queries) 2 February 3rd 10 05:18 PM
XIRR #Num! Error RAB1203 Excel Worksheet Functions 2 November 6th 09 08:21 PM
XIRR Error Marc Excel Worksheet Functions 4 February 26th 09 05:13 AM
xirr value error CC Excel Worksheet Functions 0 May 19th 06 12:07 AM
#VALUE error with XIRR bdyer30 Excel Discussion (Misc queries) 7 January 24th 06 04:29 PM


All times are GMT +1. The time now is 09:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"