I've got an Excel automation project creating reports. In dev and test mode I make oExcel.Visible = .t. so I can watch it and make sure it's doing the correct thing. This also makes Excel sometimes get focus on the machine and if I'm typing along in another app the keystrokes get consumed by Excel and generally hose up the spreadsheet. Is there some property I can set at the Excel level that would keep it from doing this? Something like oExcel.IgnoreKeyboardAndMouse = .t.. It's not an issue in the production environment because Excel stays invisible.