There exist lots of ways by which you can transfer the data to the word or excel file with and without opening it becoz u can save the file by the name which you want. an can control the complete external application through VFP codings.
You can find a code from the file gallery in this forum.
U can Play-Try KEYBOARD command (Never tried by me for this purpose.)
Best Regards,
Aashish
>I need to copy a field from a table and paste it into either Word
>or Excel document being opened.
>
>I used _CLIPTEXT = ALLTRIM(table.field) to copy into memory.
>How could I paste it "automatically" on where the last cursor being
>placed on the Word/Excel document? Could anyone share with me on the
>links needed and the syntax to paste, please. Thank you very much.