Functie-idee: Geparametriseerde macro's (of "slimme vervangingen")

Not with parameters, but, try

Admin → Customize → Watched Words → Replace