Then what would be the trigger in the On Text event? Why don't you just stick tge code in a group.