Solver in dynamic formate

vba , excel , msaccess India
  • 11 years ago
    Hi, I am trying to make the solver dynamic, please help me in solving the below by solver vba code. we have cells a, b, c, d, e, f, and g. In cells "A" and C" we have values say 10% , 30% respectivly and in cell "B" the value is 60% as (1-A-C). Now, there is some values in cells D, E, F, and G. The values into cell D, E, F and G are related to values in colum A, B, C and others...Now we took the sum of D, E, F and G in column H. there is some other value in column "I" now we use the solver by putting set target cell as "H", Equal to: "Value of: column "I" value", By changing Cell: "A and C", Subject to the constraints: Cells"A to C". and then we solve it. Now here we have to make the solver in such a way so that this process continues untill excel file found a empty cell. Can anyone please help me in this regard. Thanks & Regards, Santosh Agrawal +91-9986050210
  • 11 years ago
    Hi, I am trying to make the solver dynamic, please help me in solving the below by solver vba code. we have cells a, b, c, d, e, f, and g. In cells "A" and C" we have values say 10% , 30% respectivly and in cell "B" the value is 60% as (1-A-C). Now, there is some values in cells D, E, F, and G. The values into cell D, E, F and G are related to values in colum A, B, C and others...Now we took the sum of D, E, F and G in column H. there is some other value in column "I" now we use the solver by putting set target cell as "H", Equal to: "Value of: column "I" value", By changing Cell: "A and C", Subject to the constraints: Cells"A to C". and then we solve it. Now here we have to make the solver in such a way so that this process continues untill excel file found a empty cell. Can anyone please help me in this regard. Thanks & Regards, Santosh Agrawal +91-9986050210

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In theory, theory and practice are the same. In practice, they're not.”