&& my excle book name is testt,i want to put mydata from vfp.dbf at first sheet, &&my table name is (dncnew.dbf ) ***************************************** ObjExcel= CREATEOBJECT("Excel.Application") with ObjExcel .Workbooks.open(d:\testt)&&error message Unrecognized command verb lcRange="A2" &&starting cell .Range(lcRange).Select &&error message OLE error code 0x800a03ec unknown com status code .Rows(TRANSFORM(.ActiveCell.row)+":"+TRANSFORM&&Member "name" does not evaluate to an object (.ActiveSheet.UsedRange.Rows.Count)).Delete &&remove all data use dncnew _VFP.Datatoclip(,,3) .ActiveSheet.Paste() endwiththanks.