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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GoalSeek

Status
Not open for further replies.

ResolutionsNET

IS-IT--Management
Jul 31, 2000
70
GB
Hi,

I'm looking for the Goalseek function from Excel in a VB function.

Any ideas where I can find it?

 
In the following, A1*b1=c1

so the end result too look for is 100 in c1 by changing the value of A1

-----------------

Sub GOAL_SEEK()
Range("C1").GoalSeek Goal:=100, ChangingCell:=Range("A1")
End Sub
 
I don't understand,..that sub is the code that will do goal seek as referenced to cells in a sheet..you can sustitute arrays for the hard values....or am I built too low?


x-)
 
I want to replicate the functionality of GoalSeek from Excel into a Visual Basis function. Not VBA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top