What code can I use in my VBA project to detect that I'm running in Word 2007? thanks in advance, gary hillerson