use UCase$, use Mid$, use Trim$, use On Error GoTo 0 for turning on default VBA error handling