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.