I need to search for bulleted list items in a document, and replace them with
a specialized style. The items currently have no unique formatting or styles
attached to them. Is there some way to search for "bulleted list"?

Re: How do I search for a bulleted list? by Jay

Jay
Mon Mar 19 09:51:46 CDT 2007

marcyw wrote:
> I need to search for bulleted list items in a document, and replace
> them with a specialized style. The items currently have no unique
> formatting or styles attached to them. Is there some way to search
> for "bulleted list"?

If they don't have a "unique formatting or style", then what makes them
"bulleted list items"? Is there some specific character at the beginning of
the item's paragraph? Something else? When you can answer that question,
then search for that condition. If you don't know how to do that, come back
here and explain what you need to look for.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.



Re: How do I search for a bulleted list? by Helmut

Helmut
Mon Mar 19 11:04:03 CDT 2007

Hi,

maybe you're looking for somthing like this:

Sub Test4567890()
Dim oPRg As Paragraph
For Each oPRg In ActiveDocument.Range.Paragraphs
If oPRg.Range.ListFormat.ListType = wdListBullet Then
oPRg.Range.Select
Stop ' your code
End If
Next
End Sub

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"