Templates - Placeholders

  • Thread starter Thread starter lisa
  • Start date Start date
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
 
Hi Lisa,

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