Better to try and find out what is causing the error. Click on the Debug
button to see what line of code is highlighted when the error occurs.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Hi,
>
[quoted text clipped - 8 lines]
> Thanks in advance,
> Vinita
Vinita - 12 Mar 2008 10:26 GMT
Im getting the error "Run time error 1004 Method Cells of '_Global' failed "
at the following line of code.
Cells.Find(what:=subtask_name, lookat:=xlWhole,
earchDirection:=xlNext).Activate
> Better to try and find out what is causing the error. Click on the Debug
> button to see what line of code is highlighted when the error occurs.
[quoted text clipped - 11 lines]
> > Thanks in advance,
> > Vinita
Vinita - 12 Mar 2008 10:31 GMT
Im getting "Run time Error 1004 Method Cells of object '_Global' failed at
the following line of code.
Cells.Find(what:=subtask_name, lookat:=xlWhole,
searchDirection:=xlNext).Activate
> Better to try and find out what is causing the error. Click on the Debug
> button to see what line of code is highlighted when the error occurs.
[quoted text clipped - 11 lines]
> > Thanks in advance,
> > Vinita
Doug Robbins - Word MVP - 12 Mar 2008 10:58 GMT
I suggest that you post your question to the
microsoft.public.excel.programming newsgroup. This one is for the use of
VBA in Word and the object model for Excel is quite different.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Im getting "Run time Error 1004 Method Cells of object '_Global' failed at
> the following line of code.
[quoted text clipped - 19 lines]
>> > Thanks in advance,
>> > Vinita