pbarreda77
New Member
- Joined
- Aug 12, 2002
- Messages
- 25
Sub goalseek()
Range("AB100").goalseek Goal:=0, ChangingCell:=Range("AB104")
End Sub
Above is a macro for goalseek can anyone help with how to write the vba code that would allow me to run goalseek on say 10 cells from left to right all cells being in row 100. Example the next goalseek would use "AC100" and "AC104" etc etc etc
thank you all
Range("AB100").goalseek Goal:=0, ChangingCell:=Range("AB104")
End Sub
Above is a macro for goalseek can anyone help with how to write the vba code that would allow me to run goalseek on say 10 cells from left to right all cells being in row 100. Example the next goalseek would use "AC100" and "AC104" etc etc etc
thank you all