Automatically repeat text

G

Guest

Is it possible to enter text in one place within a Word document and then
have it repeat elsewhere in the document? For example, enter a name on the
first page and then have it automatically populate in other designated place
within the document. I've looked at this site
http://gregmaxey.mvps.org/Repeating_Data.htm. Unfortunately it is not useful
for me as I don't know Visual Basic. Is there any other way to do this?
 
M

macropod

Hi Amy,

The links you referred to show you how to do this without Visual Basic/macros.

Cheers

--
macropod
[MVP - Microsoft Word]


| Is it possible to enter text in one place within a Word document and then
| have it repeat elsewhere in the document? For example, enter a name on the
| first page and then have it automatically populate in other designated place
| within the document. I've looked at this site
| http://gregmaxey.mvps.org/Repeating_Data.htm. Unfortunately it is not useful
| for me as I don't know Visual Basic. Is there any other way to do this?
 
C

CyberTaz

Greg's site makes it just about as simple as it gets for what you want to
do - and there *isn't* any VBA involved. All you need concern yourself with
is the portion that describes inserting Fields in the appropriate places of
a User Form & making some settings changes as you do. You need not get
involved with VBA unless you want to go beyond the scope of what that page
describes & employ more sophisticated features in your template.

You can use Insert>Field to insert the REF (or STYLEREF) fields which appear
in the file as { REF Text1 } if you choose to display them, but that's not
VBA. Text Form Fields are inserted by simply clicking a button on the Forms
toolbar & don't require any VBA savvy either. I think you're just a little
intimidated by the overall content of Greg's page, but if you give it a try
you might be pleasantly surprised :) Someone here will be glad to help out
if you get in trouble.
 
R

rosemarcus

I too need to figure this out. I think I have to insert a field,
reference, and bookmark but I cannot seem to find step-by-step
instructions which is what I need. What I'm trying to do is: I have
a sheet of 30 labels with text fields on them - on the bottom of each
label I want to insert a field that will prompt me as to what I want
to enter. The MSOffice website instructions are vague. What are the
step-by-step instructions? Anyone?
 
G

Graham Mayor

If you have thirty labels to fill with variable data, you should be thinking
in terms of mail merge - see
http://www.gmayor.com/mail_merge_labels_with_word_xp.htm and
http://word.mvps.org/faqs/mailmerge/CreateADataSource.htm
If you want a prompt on each label of a label document (not mail merge) for
the data to put in them, macrobutton fields are possibly the best option -
http://www.gmayor.com/Macrobutton.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
C

CrystalGuru

I am very familiar with merges - this is not appropriate for a merge.
I briefly looked at the article you suggested and that is overkill.
As I mentioned with my previous post - fields with references and
bookmarks should 'simply' do the trick - but I'm lacking the
instruction on the first few steps to get started. I do appreciate
your reply - but the instructions in the link are too much for what I
need.
 
M

macropod

Hi CrystalGuru,

At its simplest:
.. Select the data you want to have repeated
.. Use Insert|Bookmark and give it a name
.. Select the point where you want the repeated data to show
.. Use Insert|Cross Reference and select your bookmark name

Cheers

--
macropod
[MVP - Microsoft Word]


| I am very familiar with merges - this is not appropriate for a merge.
| I briefly looked at the article you suggested and that is overkill.
| As I mentioned with my previous post - fields with references and
| bookmarks should 'simply' do the trick - but I'm lacking the
| instruction on the first few steps to get started. I do appreciate
| your reply - but the instructions in the link are too much for what I
| need.
|
 
G

Graham Mayor

I am totally confused - probably because I don't know whether I am
addressing one person, two or three?

My suggestions were based on the premise that *different* information was
required on each label. If the *same* information is required then you need
an ASK field at the start of the template (which creates the bookmark) and
REF fields where the information is to be reproduced.

Enter the Ref Field {REF Data} in the first cell of the table. Copy, then
select the table and paste to put that field in each cell. Add the Ask field
{ ASK Data "Enter Data" }to the start of the first cell.

If you add the update code at http://www.gmayor.com/installing_macro.htm to
a toolbar button a click will activate the ASK field to receive your data.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
C

CrystalGuru

Dear Macropod and Mayor:
The original post was from someone else asking for a similar solution
- I kind of latched on, chimed in and added that I too was having the
same type of question. I didn't mean to take over the original
poster's submission; I hope they were able to resolve their original
issue with the help of both of your inputs.

Now back to my issue - both of you were helpful to get me started.
What I had was a document that was a page of 30 labels. I turned this
into a protected form. Each label had four fields - two of the fields
were modifiable (name and snack) see below ;

10AM
Mary Smith
Fruit Cup
2-15-07

What I wanted to do was input a date ONCE and have this date be
updated on the rest of the 29 labels. Inserting a date field was not
an option because the person printing these labels may choose to print
a week's worth at a time.

What you all submitted was 'CLOSE' - what I ended up doing from the
input that you both provided was; I created a form field for the
date; highlighted it and created a bookmark called 'DATE'; then in
label #2 I inserted a Reference, Cross-reference back to the DATE
bookmark; then I copied that field from label #2 to labels 3 through
30; then I turned protection back on so that the date field could only
be modified from the first label. How to update all those fields?
Well I could find a way to update all fields without creating a macro
and I did not want to go there. BUT in Tools, Options, Printing,
there's an option to 'update fields when printing' - so after you
input the date on the first label - simply click on PRINT PREVIEW and
viola all the date fields are updated.
So thanks to both of you!
 
S

Suzanne S. Barnhill

A refinement to your process: form fields have built-in bookmarks, so you
don't need to apply one manually; you can either use the built-in one or
rename it in the Form Field Options dialog. Also, if you check the box for
"Calculate on exit" in that dialog, any REF fields referring to the bookmark
will be updated automatically (and immediately).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Greg Maxey

A refinement to your process: form fields have built-in bookmarks, so you
don't need to apply one manually; you can either use the built-in one or
rename it in the Form Field Options dialog. Also, if you check the box for
"Calculate on exit" in that dialog, any REF fields referring to the bookmark
will be updated automatically (and immediately).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.










- Show quoted text -

Suzanne, I thought I had that pretty well covered in para 2. of my
tips page ;-)
 
S

Suzanne S. Barnhill

Yes, but we seem to be dealing with a selective reader.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top