Goal Seek in a Macro

M

mrogge2895

I am attampting to write a macro where I use goal seek to solve for price
based on the desired IRR input. When I bring up goal seek, it forces me to
manually input a value, rather than allow me to reference a cell value as the
input variable. Is there anyway to reference a cell value as the value I
would like to solve for within my macro?
 
G

galimi

Yes. You can programatically change the cell that needs to be static to a
value and then change it back to a formula after you perform the goal seek.
 

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

Similar Threads

Goal seek via macro? 1
goal seek function 3
goal seek 3
Goal seek on more than one cell 1
Goal Seek 1
Goal Seek precision 1
Goal seek - Is there a bug? 2
Problem with Goalseek Macro 5

Top