ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Trigger Excel Solver by User Defined Function (https://www.excelbanter.com/excel-programming/384408-trigger-excel-solver-user-defined-function.html)

murthy

Trigger Excel Solver by User Defined Function
 
Hi all,

I am doing an optimization problem, where I want to conduct an exhaustive
sensitivity analysis. My objectve cell (maximize NPV) has a solver output.
What I want to do is to change the 5 constraints in a pre-defined range and
see how the objective (NPV Value) is affected. I am new to VB programming and
as such I dont have any idea to write a VB macro or User Defined Function. I
want a UDF to take all the 5 constraints and return me the optimized value
(obtained from excel's solver) for the objective cell. Can anyone help me in
this regard?

Thanks.


All times are GMT +1. The time now is 01:26 PM.

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