A
Angus
Here is the macro:
Sub convertPtoBR()
'
' convertPtoBR Macro
' remove full new para and insert break - less line spacing
'
With Selection.Find
.Text = "^p"
.Replacement.Text = "^l"
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
End Sub
But if I select a section of text (with target formatting) and run
macro nothing changes? What am I doing wrong?
Yesterday the macro worked but not today? How do I make it work
reliably?
Angus
Sub convertPtoBR()
'
' convertPtoBR Macro
' remove full new para and insert break - less line spacing
'
With Selection.Find
.Text = "^p"
.Replacement.Text = "^l"
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
End Sub
But if I select a section of text (with target formatting) and run
macro nothing changes? What am I doing wrong?
Yesterday the macro worked but not today? How do I make it work
reliably?
Angus