@abhat
Try the below thread it was showing for excel but invoke the VBA code for word and give a try
Regards