yichuansancun
Board Regular
- Joined
- Feb 7, 2011
- Messages
- 123
I have the following code:
Sub Goalseek()
Range("$N$7").Select
Range("$N$7").Goalseek Goal:=Range("$N$9").Value, ChangingCell:=Range("$N$3")
End Sub
How can I make excel to run this macro automatically every time there is a change in cell N9's value?
Thanks,
Perri
Sub Goalseek()
Range("$N$7").Select
Range("$N$7").Goalseek Goal:=Range("$N$9").Value, ChangingCell:=Range("$N$3")
End Sub
How can I make excel to run this macro automatically every time there is a change in cell N9's value?
Thanks,
Perri