ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Goal Seek in a Macro (https://www.excelbanter.com/excel-discussion-misc-queries/211157-goal-seek-macro.html)

mrogge2895

Goal Seek in a Macro
 
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?

galimi

Goal Seek in a Macro
 
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.
--
http://HelpExcel.com




"mrogge2895" wrote:

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?



All times are GMT +1. The time now is 04:46 PM.

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