Thanks Rod, your code was very helpful.
Regards,
Gerry.
>Gerry,
> Go to my website
www.dashpoint.com in the downloads section is the sample application from our VFP 5 book. There is a program file in the CLASSLIB directory called OFFICAPI.PRG this file has a class that can send a table to excel automatically with Ole Automation
>
>It will also create graphs from that class.
>
>Thanks,
>Rod