CreateAutoTextEntry Method Example

This example creates a new AutoText entry named "handdel" under the category "Mailing Instructions," given "HAND DELIVERY" as the currently selected text.

Selection.CreateAutoTextEntry "handdel", _
    "Mailing Instructions"