View Single Post
 
Old 12-03-2024, 04:25 AM
gmaxey gmaxey is offline Windows 10 Office 2019
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Shelley,


Of course that could be accommodated. I assume that you are using styles in your documents and or list paragraphs. You could add code to process only a) certain styles or b) paragraphs that are not list paragraphs:

For Each oPar In ActiveDocument.Range.Paragraphs
'If oPar.Style = "Normal" Then
'or
If oPar.Range.ListFormat.ListType = wdListNoNumbering Then

'Existing code
End If
Next
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote