Excel VBA reference implementation of pffy idioms