oExcel = createobject( "Excel.Application" ) if ( vartype( oExcel ) != "O" ) Messagebox( "you must install Excel in order to be able to use this cool feature of my app" ) endif * Error method of the class trying to run the above code lparameter nError, cMethod, nLine if ( nError = 1733 ) * problem starting up Excel return else dodefault( nError, cMethod, nLine ) endif>You are absolutely right.