![]() |
|
|
|
#1
|
||||
|
||||
|
Maybe with the macro
Code:
Sub macro1()
Dim orng As Range
Dim opara As Paragraph
For Each opara In ActiveDocument.Paragraphs
If opara.Style Like "List*" Then
Set orng = opara.Range
orng.Collapse 1
orng.MoveEndUntil Chr(32)
orng.End = orng.End + 1
orng.Text = ""
End If
Next opara
lbl_Exit:
Set opara = Nothing
Set orng = Nothing
Exit Sub
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Delete certain characters from a line
|
Helend269 | Word VBA | 5 | 01-09-2018 12:08 PM |
| Auto numbering macro | desireemm1 | Word | 1 | 12-10-2015 07:50 PM |
How do I delete strange characters from a document.
|
Stokkers | Word | 1 | 06-12-2013 04:21 AM |
auto page numbering
|
socomfort | Word | 2 | 05-28-2012 04:19 PM |
Word VBA: Cannot Edit Range (Delete characters except the first in a table cell)
|
tinfanide | Word VBA | 3 | 04-27-2012 09:48 AM |