Extracing scetions of a document

D

DanSmoach

Hi

I am after some advice on how to proceed. I would like to write some code to
extract certain sections out of a document and copy them into a new document.
Is it better to use sections or bookmarks? These sections may span multiple
pages.

Any advice would be very gratefully received.

Cheers

Dan
 
G

Graham Mayor

Are these Word sections or simply parts of a document. If they are Word
sections then you can address them directly
eg
ActiveDocument.Sections(2).Range.Copy 'copies section 2

If they are just long bits of text, how are you going to identify them in
order to aselect them?

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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