Add
Local oExcel as excel.application
at the beginning of your program to let foxpro intellisence to know the type of oExcel.
>hello all
>
>If i use intellisence in command window its working fine,but if i do it in a program or a form i'm not getting intellisence
>
>like oExcl=CREATEOBJECT("Excel.Application") works fine in command window
>but oExcl. doesn't work in program
>
>what could be wrong ?
>
>txs
--sb--