lcFolder = GETDIR(CURDIR(), 'Forms Folder', ; 'Select folder where your forms are located...') IF EMPTY(lcFolder) RETURN ENDIF lnRetVal = ADIR(laForms, ADDBS(lcFolder) + [*.SCX]) FOR lnI = 1 TO lnRetVal TRY lcForm = laForms[lnI, 1] KEYBOARD '{Alt+M}I{Tab}{Tab}' + lcHeaderFile + '{Enter}{Ctrl+W}' MODIFY FORM (lcForm) CATCH KEYBOARD '' CLEAR ENDTRY ENDFORThe code executes fine unless the form can not be modified because, for an example, a ClassLib can not be found for some object on the form. No matter what I put in Catch, I still get an error messagebox appearing. This is for error 2005. Is there a problem with my code or is error 2005 not trappable? TIA!