Amy Walsh look at Dynamics GP2010 Word Templates and Activating the Developer Tab in Word over at DynamicsCare.
Dynamics GP2010 Word Templates and Activating the Developer Tab in Word
Excel & OfficeGP 2010
Archived post from 2011. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.