The Windows environment is unimportant; what matters is the Word version. If a given PC lacks Word 2013 (cf. your reference to wdWord2013), your code will fail. As it is, your code is especially inefficient, per its repeated use of Selections.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|