Hi gmayor,

I executed the code as macro within word document. But the code isn't working as expected. Kindly check and advice. Hoping to hear from you.

Thank you in advance.