Factored conditional seeking into a macro