Cut & Paste Outline Only

R

ronq

I want to put the document in outline view and the copy and paste the
outline in another document. If I try this, I copy all the body text
too. Is there any way to just copy the outline itself? Thanks.

Hexq
 
M

Markus Schöpflin

ronq said:
I want to put the document in outline view and the copy and paste the
outline in another document. If I try this, I copy all the body text
too. Is there any way to just copy the outline itself? Thanks.

No idea if this could be done with some clever copy&paste mechanism,
but you can copy the whole document and use the following macro to zap
the non-outline part of it.

Public Sub KillBodyText()
Dim para As Paragraph
For Each para In ActiveDocument.Paragraphs
If para.OutlineLevel = wdOutlineLevelBodyText Then
para.Range.Delete
End If
Next
End Sub

HTH, Markus
 
S

Suzanne S. Barnhill

One way to do this is to create a TOC based on the content (easy to do if
you have used outline levels or heading styles); see
http://www.ShaunaKelly.com/word/toc/CreateATOC.html for the basics. Create
the TOC based on the outline levels you want to include. Copy it and paste
it into a new document, then immediately Ctrl+Shift+F9 to unlink the field
and convert the TOC field to plain text. You can then delete the TOC from
the original document if desired.
 
K

Klaus Linke

Or create a TOC and cut/paste it elsewhere...
It's pretty quick to set up a TOC without page numbers and including the
outline styles you want.

Klaus
 

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