Hello!
I want to write a macro in Excel that will use the 'Goal Seek' analysis.
The code is something like that:
Range("Q27").GoalSeek Goal:=0, ChangingCell:=Range("B10")
As for input cell (ChangingCell), when the macro button is pressed, I want to consider the active cell. How can I do that?
As for the goal seek cell, I want to a formula to calculate it based on other cells values.
Any hint?
Thanks!
I want to write a macro in Excel that will use the 'Goal Seek' analysis.
The code is something like that:
Range("Q27").GoalSeek Goal:=0, ChangingCell:=Range("B10")
As for input cell (ChangingCell), when the macro button is pressed, I want to consider the active cell. How can I do that?
As for the goal seek cell, I want to a formula to calculate it based on other cells values.
Any hint?
Thanks!

















