copy text

J

John Milroy

Depending on an input choice i have to select a part to copy and paste.

All the text is included in one document and i can type all i want for
bookmarks.
But how can i write the code that on choice 1 i have to copy from text
"a)" till text "b)" and so on?
 
J

Jezebel

You could define the source elements by bookmark, then reference them with
code like

Select case Choice
Case A
set pRange = Doc1.Bookmarks("TextA").Range
Case B
:
etc




If these are fixed elements, it might be simpler to define them as autotext
entries in the underlying template.
 
Top