Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro with goalseek function

Status
Not open for further replies.

Ramy27

Technical User
Apr 26, 2005
63
GB
I recorded a macro in Excel while doing a goal seek. When I run the macro it's not repeating the goal seek. Could anyone tell me why? Here's the part of the macro that was recorded.

Range("B9").GoalSeek Goal:=0, ChangingCell:=Range("B4")

 
It works fine for me.

Have you changed cell B4 to something other than the sought answer? If the initial conditions already satisfy the goalseeker then it will appear to do nothing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top