Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Finding Formatted Bulleted Paragraphs.
Written by Allen Wyatt (last updated November 11, 2020)
This tip applies to Word 97, 2000, 2002, and 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 create a macro that will search for bulleted paragraphs. The following VBA macro will do the trick:
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.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (189) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Finding Formatted Bulleted Paragraphs.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Word is very flexible in what it allows you to search for. One thing it can't do, however, is allow you to search for ...
Discover MoreNeed to look for a piece of text possessing a particular formatting attribute? Here's the skinny on how this is accomplished.
Discover MoreMost periods should be followed by at least one space. What if you think there may be some errors in how your post-period ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2016-03-15 06:29:02
Lucio Loiero
Is there a way of triggering a VBA routine simply by writing a text inside a Controlbutton type edit of a CommandBar?
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments