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
If only everything in life was as reliable as VFP