Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calling Analysis Add-in Funciton in VB

I wrote a macro which needs to call the yieldmat financial function fro
excel but for some reason it just doesn't seem to be recognizing it an
I get an error. In general how do you call an add-in function from th
vb environmen

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Calling Analysis Add-in Funciton in VB

Hi
Set a reference to the Analysis toolpak, APTVBAEN.XLA and then simply
call the functions like
x = yieldmat(...)

--
Regards
Frank Kabel
Frankfurt, Germany

"rvalente " schrieb im
Newsbeitrag ...
I wrote a macro which needs to call the yieldmat financial function

from
excel but for some reason it just doesn't seem to be recognizing it

and
I get an error. In general how do you call an add-in function from

the
vb environment


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Calling Analysis Add-in Funciton in VB

Hi rvalente!

Set a reference to the Analysis toolpak add-in in the VBA Editor using

Tools References.
Check "atpvbaen.xls"

If you don't see it in the list you need to go back to Excel and use:

Tools Addins
Check "Analysis ToolPak - VBA"
Now back to the VBE and
Tools References
Check "atpvbaen.xls"

After this you just use the functions in your VBA code


--
Regards
Norman Harker MVP (Excel)
Sydney, Australia

Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
"rvalente " wrote in message
...
I wrote a macro which needs to call the yieldmat financial function
from
excel but for some reason it just doesn't seem to be recognizing it
and
I get an error. In general how do you call an add-in function from
the
vb environment


---
Message posted from
http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calling Analysis Add-in Funciton in VB

thanks alot guys, it seems to be working, i appreciate it

--
Message posted from http://www.ExcelForum.com

Reply
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
help with date funciton [email protected] Excel Worksheet Functions 3 May 1st 09 09:27 PM
Excel 2002 Analysis ToolPak Regression Analysis Help Requested MH Excel Worksheet Functions 1 February 28th 09 07:16 AM
Analysis Toolpak-Confidence Level and data analysis questions MH Excel Worksheet Functions 0 January 3rd 09 06:15 PM
RANK Funciton Marcos Excel Worksheet Functions 1 November 10th 05 12:34 AM
eomonth funciton in VBA ExcelMonkey[_83_] Excel Programming 2 February 11th 04 04:25 PM


All times are GMT +1. The time now is 03:20 AM.

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

About Us

"It's about Microsoft Excel"