Have you tried it? Nothing in the code is specific to Excel. It should work in Word too.