
The Newly Created Templates
Each new template produces a different document, even
though they are exactly the same except for their names. The
AutoNew macro runs every time the user goes to Office but-
ton | New | Basic Templates and chooses one of them.
Remember that the AutoOpen macro prohibited these new
templates from being opened. The original template, however,
contained an AutoNew macro that has been copied to each of
the three new templates. This macro controls which UserForm
will be displayed. The work of creating the document is left to
the UserForm. The AutoNew code is seen below:
Sub AutoNew()
' Turned off ScreenUpdating to save time and prevent ...