View Single Post
  #7   Report Post  
Posted to microsoft.public.word.docmanagement
BER
 
Posts: n/a
Default Repeating same text in the same doc

Cooz You are a bit ahead of me here, I use fields and fieldswitches and
macros but cannot get this one to work, maybe a bit more step by step for me
please. What I need in these fields is to be able to type any name and it
will repeat in the four other fields. Sorry maybe I'm a bit slow today or not
as advanced as you in word I guess. Just cannot follow your initial insert
field instructions.

"Cooz" wrote:

Hi BER,

In addition to what I suggested, with thanks to Greg, you should record a
(any) macro in the template on which your document is based. For example:
start recording, click the B (Bold) button in the formatting toolbar, and
stop recording.

Choose Tools | Macro Macros..., select your macro and click Edit. The VBA
editor opens.
Replace _all_ of the currently selected macro with

Sub AutoNew()
ActiveDocument..Fields.Update
End Sub

Click the Save button in the VBA editor, return to Word and close Word. From
now on, the ASK field _will_ fire a prompt on creating new document.

Success,
Cooz
--
PS: If this is a satisfying answer to your question and you're logged in via
the Microsoft site, please click Yes to "Did this post answer the question?".
Thanks.

"Cooz" wrote:

Hi BER,

The easiest way to accomplish this is by using one ASK field in combination
with four REF fields; see Insert | Field...
You have to supply a bookmark with the ASK field. Type the name of that
bookmark in your REF fields and they will show what your user typed in the
ASK field.

Success,
Cooz
--
PS: If this is a satisfying answer to your question and you're logged in via
the Microsoft site, please click Yes to "Did this post answer the question?".
Thanks.

"BER" wrote:

I have a template which I use but the only entries I have to make is a
person's name but this name has to go 4 times in the doc. Is there any way I
can get the name to repeat in all 4 places once I put it in the first one e.g

John Ryan

I refer to the death of John Ryan

Please concact me re John Ryan

Please register John Ryan