You can do this by using the Macro System!

Unless you mean Word Triggered specifically, but your best option is to make a macro for it.