Templates - Placeholders

D

Doug Robbins - Word MVP

Hi Lisa,

I am not quite sure what you mean. Do you mean that you want to identify a
location in the template (and any document created from the template) where
you can have some code in a macro in the template place some information.
If that is the case, you can either do it with a bookmark and use

ActiveDocument.Bookmarks("bookmarkname).Range.InsertBefore "your data"

or you can place a { DOCVARIABLE "varname" } field in the location and use

ActiveDocument.Variables("varname").Value = "your data"
ActiveDocument.Fields.Update

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
M

Mark Tangard

Hi Lisa,

Placeholder isn't really a Word term. Try to describe a
little better what it is you mean.
 

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