Copying/referencinf text between document sections

M

ML

Is there a way to automatically copy text that a user types from one section
of a document
to others?

Basically I need a way to copy the text the user enters into a summary
section, into a table that is at the end of the document. This is filing
sheet that includes the summary as the meta data for logging the document.
I want to copy the full text from one section and place it in another.

Is there someway to mark the text so that a macro or similar can then
reference and copy it, formatting and all to another document section?
 
J

Jonathan West

Answered in the vba.general group. Please do not post multiple copies of the
same question to different groups
 
M

ML

Thanks. I think bookmarks are the best I can do for this. Only issue is
that a user can easily delete it when they start typing. I guess a macro to
add one back in around the desired text might work if that is easily
possible.
 
M

Margaret Aldis

ML said:
Thanks. I think bookmarks are the best I can do for this. Only issue is
that a user can easily delete it when they start typing. I guess a macro to
add one back in around the desired text might work if that is easily
possible.
 
M

Margaret Aldis

If it's a block of text, can you use a specific style to mark it? Then you
can use a StyleRef field and avoid the problems of users overwriting
bookmarks.
 
R

Robert M. Franz

Hi Margaret

Margaret said:
If it's a block of text, can you use a specific style to mark it? Then you
can use a StyleRef field and avoid the problems of users overwriting
bookmarks.

.... and along comes a user and deletes the paragraph and/or changes the
style. :)

Greetingx
Robert
wearing his Murphy's Law t-shirt ...
 
M

ML

I could have them format it with a specific style. If I did make a style
for it how then would I use a ref to get the text to show in another
section? Not sure on what you mean by the StyleRef.
 
M

ML

Disregard. Found it. Thanks!

ML said:
I could have them format it with a specific style. If I did make a style
for it how then would I use a ref to get the text to show in another
section? Not sure on what you mean by the StyleRef.
 

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