Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I wrote the following code to calculate IRR. Sub IRR() Dim X As String X = Range("F9").Value Range("H9").GoalSeek Goal:=X, ChangingCell:=Range("F4") End Sub This works fine alone, but when I put it in a Command Button and use: Call IRR I get the following error: "GoalSeek Method of Range Class Failed" Does anyone know what the problem is? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Please Help With Goal Seek | New Users to Excel | |||
goal seek | Excel Discussion (Misc queries) | |||
Goal Seek | Excel Discussion (Misc queries) | |||
Goal Seek | Excel Worksheet Functions | |||
Goal Seek (in VBA) | Excel Programming |