Invalid worksheet number condition handled