> >
> >
> > Actually you are doing worng syntanx workbooks.open need a file name not excel object!.
> > LOCAL lobject, lcFile,lobject1
> > lobject = CREATEOBJECT('Excel.Application')
> > lobject.Visible = .T.
> > lobject.Workbooks.Open("c:\temp.xls")
> >
> >
> > Anil
> >
My Blog>
>
>
> Hi anil,
>
> This new code also shows same problem.pls tell me any other solution.
>
> Thanks,
> vaishali maske
the code is fine only thing is i open c:\temp.xls which is not at your pc so give the exact location of filename which you want to open.
Anil
My Blog