Open a template as a word document

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I wish to record a macro that opens a template as a word document and all th
user defined styles and toolbar that I have created are available. I have recorded a macr
using the 'insert file' method but it does not bring through the toolbar an
only one of the styles
 
Do you want to open the template itself as a document, or create a document
based on the template? If the second (which is seems to describe what you're
trying to do) ...

Documents.Add Template:=MyTemplate
 
The way to create a document based on a template (with full access to menus,
toolbars, macros, styles, formatting, boilerplate text, etc.) is to create a
new document based on the template. That is, the default action of a Word
template (a .dot file, not just a reusable .doc file) is New, not Open, and
this action accomplishes all that automatically.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top