Folks,
I have found the following code in help file regarding the goal seek function
Is it possible to modify this such that I can use variables? For example, the variables are 'left term', 'right term' and 'sigma max'
I want to set the value of the following equation 'left term - right term' to 0 by changing variable 'sigma max'
Everything is done on the userform and not in the spreadsheet.
(Note: In spreadsheet format, the above query is equivalent to setting a cell which has a formula to 0 by changing the value in another cell, fairly simple)
Any ideas?
Thanks
</code>
I have found the following code in help file regarding the goal seek function
Code:
Worksheets("Sheet1").Range("Polynomial").GoalSeek _
<code> Goal:=15, _ ChangingCell:=Worksheets("Sheet1").Range("X")
Is it possible to modify this such that I can use variables? For example, the variables are 'left term', 'right term' and 'sigma max'
I want to set the value of the following equation 'left term - right term' to 0 by changing variable 'sigma max'
Everything is done on the userform and not in the spreadsheet.
(Note: In spreadsheet format, the above query is equivalent to setting a cell which has a formula to 0 by changing the value in another cell, fairly simple)
Any ideas?
Thanks
</code>