>>WITH THISFORM
>>.ADDOBJECT('oExcel',.null.)
>>.oExcel = CREATEOBJECT("EXCEL.APPLICATION")
>
>That gives an error:
>Function, argument,type,value or count is invalid
>
>I am tring to have the user do their excel entry from Fox Because I have stuff in custom object that Needs to go to that file anyway. So if it needs to go their and they still have to enter some stuff I figure it would be nice to have it all in the same place... VFP
>
>Hope that Made sense
PMFJI,
Try placing it inside an OLE control:
.AddObject("oExcel","OleControl","Excel.Sheet.8")
HTH