Hi all,
Is there a way to progammatically check if a document is a template (.dot or .dotm) or a document (.doc or .docx).
I have some code in the AutoOpen() method that I only want to fire if it is a .doc/.docx - i.e. skip the code if someone is editing a template.
Note: it actually needs to work in both Word 2003 and Word 2007/2010 as users can have either version.
Thanks