
Tips.Net > WordTips Home > Editing > Sharing Headings with Others
Summary: The headings in your document are very important. The constitute the outline of what your document conveys. If you want to share those headings with others (without sharing the document itself), you’ll love the information in this tip. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)
There may be times when you have developed a document, and you want to share an outline--your headings--with other people. Fortunately, Word allows you to do this rather easily. The easiest way, of course, is to simply print the outline. You do this by following these steps:
You should note that when you are viewing an outline, how you print is very critical. If you choose Print Preview, Word does not display only the headings in your document, meaning that you don't see what will really print. Further, if you choose Print from Print Preview, more than just your headings will print. This may lead some readers to believe that you can't print just your outline. This is simply misleading; if you follow the instructions above, you can print your outline just fine. This outline can then be shared with others, as desired.
But what if you want to share a document (not a printout) that consists of just the outline? Things get a bit more sticky here. The idea is that you must find a way to remove everything except the headings. The obvious way to do this is through the use of either a table of contents, or the use of RD fields. (Both of these techniques have been covered in other issues of WordTips.)
If you need to share just the headings quite a bit, a simpler solution may be to write a macro that strips everything out of the document except the headers. The following VBA macro will do the trick quite nicely:
Sub ReduceToHeadings()
Dim docActive As Document
Dim objPara As Paragraph
Dim objShape As Shape
' set fixed ref to the working document
Set docActive = ActiveDocument
' loop and remove any non-"Heading" paragraphs
For Each objPara In docActive.Content.Paragraphs
If LCase(Left(objPara.Style, 7)) <> "heading" Then
objPara.Range.Delete
End If
Next objPara
End Sub
What this macro does is simply loop to remove paragraphs in the main body of the document if the paragraph does not use a heading style. It assumes, of course, that the heading styles have not been renamed. When it is done running, only the headings remain. You should make sure you use the Save As command right away to end up with a document that you can share with others. Do not use the Save command, otherwise you will overwrite your original document (definitely a bad thing).
Tip #1780 applies to Microsoft Word versions: 97 2000 2002 2003
Great Idea! Uncover the many ways you can master the full potential of printing your documents. WordTips: Printing and Printers can help you get the most from both the printed page and your printer.
Do you want a decade of WordTips information at your fingertips? You can find what you need with the WordTips Ten-Year Library. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Pet Tips
Word2007 Tips
WordTips