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
Markus Schöpflin - 31 Aug 2007 09:20 GMT
> 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
Klaus Linke - 31 Aug 2007 16:10 GMT
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
>> 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
[quoted text clipped - 14 lines]
>
> HTH, Markus
Suzanne S. Barnhill - 31 Aug 2007 21:23 GMT
Looks like we were on the same wavelength!

Signature
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> Or create a TOC and cut/paste it elsewhere...
> It's pretty quick to set up a TOC without page numbers and including the
[quoted text clipped - 20 lines]
> >
> > HTH, Markus
Suzanne S. Barnhill - 31 Aug 2007 16:03 GMT
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.

Signature
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> 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