Mark Houldsworth, PhD
Chief Technologist
PASTORE HOULDSWORTH & CO.
HOUSTON TX AND RUIDOSO NM
Mobile: (832) 443-4010
_________________________________
RISK CONSULTING - NAVWARE MODEL LICENSING - CUSTOM SOFTWARE DEVELOPMENT
Linkedin Profile:https://www.linkedin.com/in/mark-houldsworth-phd-2b198512/
postal address:
Astrodome Station
8205 Braesmain Drive
P.O. Box 20086
Houston, Texas 77225-0086
-------------------------------------------
CONFIDENTIALITY MESSAGE: This email message and(or) its attachments are intended for the addressee(s) indicated above. This email contains information that is confidential and protected from disclosure. Any review, dissemination, or use of this email or its contents by persons other than the addressee(s) is prohibited. If you have received this email message in error, please notify the sender immediately and delete the email message.
RISK DISCLOSURE: This email message and(or) its attachment(s) may contain analysis, projections, and forward-looking statements. In accepting this communication, the recipient of this email acknowledges the inherent risk and uncertainty associated with such aforementioned analysis and forward-looking statements; and the recipient understands that the actual business results and reported statistics may differ materially from any projections included in the email or its attachment(s). Pastore Houldsworth & Co., LLC makes no warranty as to the accuracy or completeness of any forward-looking information contained herein.
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at https://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/d/optout.
Hi Guido,
Are you trying to do something that the built-in Solver tool cannot do?
Of course it doesn’t work as a UDF, but it can optimise using multiple input values, and has a very robust algorithm.
-Govert
--
What if you saved a copy of the book into a temp file, opened it in another Excel process, ran solver, and copied the resulting values back?
-Govert
--
Basically that is what I want to automate icompletely in an UDF.
The only options I know of for dealing with the file and other contents of the Workbook are those in COM object model, exactly the same as you’d have in VBA.
I don’t think there’s anything relevant in the C API that you can’t do with the COM object model.
So you either have to prompt the user and force a Save (or Save As) to read directly from the file, or read and process everything in the Workbook by reading all the formulas from the cells.
-Govert
From: exce...@googlegroups.com <exce...@googlegroups.com>
On Behalf Of Guido De Bouver
Sent: 25 June 2018 12:59
To: Excel-DNA <exce...@googlegroups.com>
Subject: Re: [ExcelDna] Re: Goal Seek functionality
thanks Govert,
--