catch exceptions when querying for sheet name of name