>COPY TO cMyFile TYPE xls
>
>My problem is that the maximum number of rows generated with this command is 65535.
>
>How can I export more rows than that?
AFAIK this is a XLS limitation, and has nothing to do with VFP. Check
Using Excel 2007 File Formats in VFP 9.0 for a solution.