Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Thursday, June 19, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
6/19/2025 3:29:44 PM
slxdeveloper.com Community Forums
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics
(for Windows client only)
. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Scripting & Customization
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: XNPV (Excel) in vbscript or vb.net?
Michael Rogers
Posts: 70
XNPV (Excel) in vbscript or vb.net?
Posted: 06 Aug 07 8:50 AM
I have a user running numbers in Excel using the XNPV function. We would like to replicate his calculations within SLX, but even with the formula for this function in hand, I can't begin to recreate it and Google is as lost as I am.
Anyone built this function before and is willing to share with the group?
Michael
[
Reply
][
Quote
]
Bob (RJ)Ledger
Posts: 1103
Re: XNPV (Excel) in vbscript or vb.net?
Posted: 07 Aug 07 6:36 AM
Actually.. you can invoke excel as a hidden com object and use it as a calculation engine to do the job.
However, I would NOT do this on "record change" events but on a button since it could present a loading/timeing issue"
--
rjl
[
Reply
][
Quote
]
Todd Hardin
Posts: 43
Re: XNPV (Excel) in vbscript or vb.net?
Posted: 08 Aug 07 1:02 AM
I once implemented NPV for calculating effective current profit for long term leases.
I did this in Cypress basic (SLX v4.x/v5.x).
Sorry I no longer have that code. I seem to recall that I pulled out an old college finance book for the algorythm. I don't recall if I solved the problem using reciursion or if I used an iterative approach.
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 6/19/2025 4:24:22 PM