>thnx sergey and Sylvain,
>Sergey's code works fine and in the cvs file are all the records. But my excel file is limited again to the 16384 records...
>
>So is it possible that the problem is situated in excel and not in vfp ?
The versions of Excel earlier than 8.0 (Excel 97) display only the first 16,384 rows and cannot import files containing more than 32,767 rows.
--sb--