Hi
<daniroy@gmail.com> wrote in message
news:1122895287.302266.47610@o13g2000cwo.googlegroups.com...
> you are right Arvi, it is a bad mix ... so here is the "proper" code
>
> Sub GoalSeek()
>
>
> For i = 10 To 400
>
> Sheets("FTSE").Select
>
> Range("Y" & i).GoalSeek Goal:=Sheets("FTSE").Range("Z" & i).Value,
> ChangingCell:=Sheets("FTSE").Range("X" & i)
>
> Next i
>
>
> End Sub
>
> But it is still not working as I receive the following error message
> "GoalSeek method of Range class failed"
>
> Idea ?
No!
But ... maybe the sheet FTSE is protected?
And check in object browser, is GoalSeek function the member of class
Excel.Range (it must be).
--
Arvi Laanemets
( My real mail address: arvil<at>tarkon.ee )
Bookmarks