Welcome to the Forums.

CodeBank is not for asking questions. Are you using Words VBA editor or using VB6 to automate it?