how to write a macro for solver function

E

ernestgoh

hi, i need to write a macro that calls the solver function.

the solver is used to find the price that gives me a target profi
margin of 15% for a range of ages 1 to 10.

appreciate if anyone can help or share. thanks alot
 
D

davidm

Earnest,

Provide more details of your layout. What are your Target cell,
Changing Cell?Make sure the target cell contains a formula!

David
 
P

Patrick Molloy

turn on the macro recorder, run solver, turn off the recrder and examoine th
ecode that was generated. It will give you pretty much all you need.
 
E

ernestgoh

i have using the marco recorder. it still doesnt solve the problem. i
have to manually hit enter on a pop up base after the solver finds a
solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top