I was trying to create an object of an excel97 range. when the range name is not found the form error event is invoked to trap this ole error(1426), give the user a message close the file and quit excel and return to the form to select another file. I have set oExcel=.null. because I have not had any trouble with the excel object being released from the system.
Extreme Programming = Plan -> Design -> Code -> Test