>I did this by opening Excel, recording a macro of what I did, and viewing the macro VBA code in the VB editor. As advertised, you can practically copy directly into Fox.
>
>I created an array of my field names and pasted that in, and then pasted the data in line by line, so it's generic. I made a quickie graph of my data and noticed that I could use the same process of recording macros to learn about the object model
Check out the sample code from MS's Randy Brown on my web site. It takes VFP data, passes it to Excel, creates a graph, then passes that to Powerpoint. There are also several other OLE examples for Outlook and some other stuff.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright