Refactored out duplicate code when selecting a sheet either by name or by regex