View Single Post
  #6   Report Post  
Posted to microsoft.public.word.pagelayout
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default To Template or not to template

waybehind wrote:
Thanks for the input; I will try and test this out. As I look at it though,
the users of the templates must remember to unlink these AutoText fields.
Correct?


You could do that with an AutoNew macro stored in the document template.
I'm not a developer myself, but it might be a good idea to only have
small wrapper code in each template calling a sub in a central Add-In
(maybe it's possible to have no code at all in the templates and use an
Add-Ins abilities only, not sure if this is feasible here, the .vba
gurus will know a lot more).

I don't think there's any way around VBA (or .net, these days) for
"dynamic" things like unlinking a field. You can do a lot in terms of
query the user for data with field constructs only, but for your task, I
don't think so.

Oh, and if you use a dedicated Add-In, pays to store the AutoText there
as well instead of Normal.dot.

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word