>This is in Fox 6. I would like to write a report to a file that can be read by MSWord or Exel. Is this possible?
>
>Thanx
>Koot
Yes. You can always copy your data directly to Excel with COPY TO filename TYPE XLS albeit with an older driver that creates an old file version of Excel, but Excel can open it just fine.
For Word, you can use FRX2Word (here in the libraries). You may be able to recompile in VFP6 (ask Fabio if in doubt, as I have not used it).
For more (and absolute) control, you can use MS Word and Excel through COM Automation. It is fairly easy to do, generally by creating and saving a macro in Excel or Word, then translating the VBA-gerated code into VFP. It is fairly similar and you should be able to deasily understand most of it. You can always ask here when you have doubts on specific examples.
HTH