ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Custom Functions (https://www.excelbanter.com/excel-programming/390422-custom-functions.html)

PWS

Custom Functions
 
How do I call a function from the Analysis Toolpak add-in in a user
function?

Application.worksheetfunction. does not work

How do i reference a function for the Toopak add-in?

PWS


Niek Otten

Custom Functions
 
In the VBE: ToolsReferences, check atpvbaen.xls
you can then use the functions as if they were intrinsic vbs functions (no prefixes);

Sub test()
Debug.Print eomonth(Date, 15)
End Sub

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"PWS" wrote in message ps.com...
| How do I call a function from the Analysis Toolpak add-in in a user
| function?
|
| Application.worksheetfunction. does not work
|
| How do i reference a function for the Toopak add-in?
|
| PWS
|




All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com