That wouldn't be a formula. That would be a macro.

Kees