Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I'd like to create a document that prompts me for info... | Microsoft Word Help | |||
How do I create a template w/prompts for info? | Microsoft Word Help | |||
Create document that prompts for fill-in fields | Microsoft Word Help | |||
how do I add prompts to a template document? | Microsoft Word Help | |||
How do I create a field in a template that automatically puts in . | Microsoft Word Help |