Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Arranging Document Windows

Specifying a Backup Location

Controlling Chart Gridlines

Merging Table Cells

Collapsing and Expanding Subdocuments

Zooming With the Keyboard

Initiating a New Search

 

Finding Formatted Bulleted Paragraphs

Summary: You can use the Bullets tool on the Formatting toolbar to turn paragraphs into a bulleted list. If you want to later search for those bulleted lists, you may be out of luck—Word doesn't provide an inherent way to perform such a search. The macro in this tip can help you find the lists, however. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

If you are working with a large formatted document, you may want to use Find and Replace to search for different document elements. At some point you may wonder if there is a way to search for bulleted paragraphs. (You know--the ones you use the Bullets tool on the Formatting toolbar to create.) Unfortunately, there is no built-in way to do this. Word doesn't allow you to search for a "bulleted" attribute, nor does it allow you to search for the actual bullet or the tab character following the bullet.

One solution is to simply search for the paragraph indenting applied by the bullet format you want to find. Thus, if the format applies a half-inch indent, then you could search for that. Of course, that leaves the potential problem of finding other non-bulleted paragraphs with a similar indent.

Another solution is to make sure you always use styles to apply your bullets to paragraphs. Doing so allows you to quickly search for paragraphs formatted with the special style.

Still another solution is to create a macro that will search for bulleted paragraphs.

Sub FindBullet()
    Dim rngTarget As Word.Range
    Dim oPara As Word.Paragraph

    Set rngTarget = Selection.Range
    With rngTarget
        Call .Collapse(wdCollapseEnd)
        .End = ActiveDocument.Range.End

        For Each oPara In .Paragraphs
            If oPara.Range.ListFormat.ListType = _
               WdListType.wdListBullet Then
                oPara.Range.Select
                Exit For
            End If
        Next
    End With
End Sub

The best way to use the macro is to assign it to a button on a toolbar or assign it a shortcut key. Each time you invoke the macro, the next bulleted paragraph within the document is selected. When the end of the document is reached, the selection remains set to the last bulleted paragraph.

If you think that you may need to search for bulleted paragraphs quite a bit, one solution for future documents is to not use the Bullets tool to create these formats. Instead, define a style for your bulleted paragraphs, and use the style to do your formatting. Then you'll be able to search for the style--which is quite easy in Find and Replace--and find your bulleted paragraphs every time.

Tip #189 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003

More Power! For some people, the prospect of creating Word macros can be scary. WordTips: The Macros can help you conquer your fears and you'll discover you're much more confident and productive as you make Word do exactly what you want. This is an invaluable source for learning macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of WordTips. Learn at your own pace, exactly the way you want.
 
Check out WordTips: The Macros today!