Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Kurt Kurt is offline
external usenet poster
 
Posts: 20
Default Using ASK and REF to create template that automatically prompts fo

I need a template that will can be used to set up outlines that prompt for
some text. I have two variables to use in both the title of the outline and
the header of pages of the outline. when I try to create a template, I
insert the ASK field, and it asks me for some input; then I input the REF
field. I repeat for the second variable. Then, I try to save the template.
But when I try to create a New document using the Template, it has the
variables already assigned to either the default or the text I used when
setting up.

HOw do I create a template to do this, or a macro that will start a new
document and require updating the variables?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Using ASK and REF to create template that automatically prompts fo

Add an autonew macro to the template as follows:

Sub Autonew()
ActiveDocument.Fields.Update
End Sub

http://www.gmayor.com/installing_macro.htm

If there are fields in the headers/footers or other parts of the document
that are not updated - then use the sample update code on that web page as
an autonew instead.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Kurt wrote:
I need a template that will can be used to set up outlines that
prompt for some text. I have two variables to use in both the title
of the outline and the header of pages of the outline. when I try to
create a template, I insert the ASK field, and it asks me for some
input; then I input the REF field. I repeat for the second variable.
Then, I try to save the template. But when I try to create a New
document using the Template, it has the variables already assigned to
either the default or the text I used when setting up.

HOw do I create a template to do this, or a macro that will start a
new document and require updating the variables?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I'd like to create a document that prompts me for info... Cassie Microsoft Word Help 1 March 19th 08 08:30 PM
How do I create a template w/prompts for info? MarDee Microsoft Word Help 1 July 28th 05 01:39 AM
Create document that prompts for fill-in fields mgr100 Microsoft Word Help 1 July 27th 05 12:37 AM
how do I add prompts to a template document? Annmarie2k Microsoft Word Help 1 June 7th 05 12:27 PM
How do I create a field in a template that automatically puts in . David Goodwin Microsoft Word Help 1 April 26th 05 09:39 PM


All times are GMT +1. The time now is 06:13 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"