>Can someone send me the syntax for creating an excel object and opening the file. I am using the following and getting an error.
>
>loObject = createobject("excel.application")
>loObject.workbook.Open Filename:="N:\BMS\xlscallfiles\CL_rec_count.xls
William,
VFP does not support named parameteres, try your code like this;
loObject.workbook.Open("N:\BMS\xlscallfiles\CL_rec_count.xls")