IRange.GoalSeek Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function GoalSeek ( _
Goal As Object, _
ChangingCell As Range _
) As Boolean
'Usage
Dim instance As IRange
Dim Goal As Object
Dim ChangingCell As Range
Dim returnValue As Boolean
returnValue = instance.GoalSeek(Goal, _
ChangingCell)
bool GoalSeek(
Object Goal,
Range ChangingCell
)
Parameters
- Goal
Type: System.Object
- ChangingCell
Type: Microsoft.Office.Interop.Excel.Range
Return Value
Type: System.Boolean