ActiveDocument Property
Template Object
Working with Document Objects