>I forgot to mention that this will be written in VFP 6.0, since the machine we are putting this prgoram on is a Windows 95 machine. So, I had to eliminate the LOCAL ox1 AS "Excel.Application" and use only LOCAL ox1. Then that presents a problem when I use oExcel.Visible = .T.
It surely represents a problem, no matter what Windows and VFP version you are using.
You can't create an object named oXL ( BTW in my sample it's OXL not OX1 ) and then use oExcel.Visible ( i.e you mismatch the variable name of your object here ).
Jaime
Why do programs stop working correctly as soon as you leave the Fox?