>Cetin,
>
>Thankyou for your help, this works perfectly - I had spent nearly 2 days trying to find a way of doing this.
>Just one more thing - is there a resource to find out the syntax for sending OLE commands - the documentation with VFP 5.0 doesn't cover this at all.
>
>Again, Thankyou for your time.
>
>Martin
Look at the object models that are in the help files on the Office CD. They are not installed when you install Office, so you can do a search on the cd for all vb*.hlp files. The largest files contain the object model. Additionally I have some stuff on my website that can help.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright