Goalseek

2 views
Skip to first unread message

asha kala

unread,
May 16, 2016, 12:52:46 PM5/16/16
to Excel...@googlegroups.com
Hi,

can anyone please check what wrong in code wrote for event change calculate in sheet2.

It should change the value of "D4" in order to match the value in "G4" to "I1".



Private Sub Worksheet_Calculate()
Dim x As Integer
x = Range("i1").Value
Range("g4").GoalSeek Goal:=x, ChangingCell:=Range("d4")
End Sub


Regards,
Asha
GoalSeek.xlsm

Ashish Kumar

unread,
May 17, 2016, 1:46:22 PM5/17/16
to Excel...@googlegroups.com
HI,

Check this.

Try to resolve your query with the help of this example.


Note : Please visit the group page for download the sheet.


Regards
Ashish Kumar
GoelSeek_resolved by Excelvbalab..com.xlsm
Reply all
Reply to author
Forward
0 new messages