Template

R

Ram

Hi,
How can I apply a document template which was stored in a certain location
to any word document. Is it possible to do this using VBA. If yes, How?
 
R

Ram

Hi,
It's not working. I have created a document template with some text in
the header. So I want to apply this template to any word doc. I did what you
said using VBA. But I didn't see the template getting applied. Is there
something else to do before I run the VBA code.
 
C

Charles Kenyon

That isn't how templates work. You need to learn Word before you try
programming it.

http://www.shaunakelly.com/word/templaterelations/index.html

http://www.shaunakelly.com/word/attachtemplate/index.html
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide




--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
R

Ram

I know that template is more of page settings and styles Thanks for the link.
I am inserting the header with a macro. Wondering if it is possible with a
new template.
 
C

Charles Kenyon

Yes, but which header? Every Word document has at least three possible
headers. Every section break adds an additional three possibilities. Your
macro needs to be able to figure this out. Learn Word first.

--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide




--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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