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.
 

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