Open a template as a word document

K

Kris

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
 
J

Jezebel

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
 
S

Suzanne S. Barnhill

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top