How to write a Clean Moodle Line Feeds macro?

Re: How to write a Clean Moodle Line Feeds macro?

by Timothy Takemoto -
Number of replies: 0
It does indeed. Thank you very much Jan,

Here is the macro, in case anyone else is interested. Perhaps I will make it a "M" button. No. I have called "MX." Very useful.

Sub moodlemodelinefeedremover()
'
' moodlemodelinefeedremover Macro
' 記録日 2005/11/28 記録者 Takemoto Timothy
'
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
        .Text = "^l"
        .Replacement.Text = "^p"
        .Forward = True
        .Wrap = wdFindContinue
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchByte = False
        .MatchAllWordForms = False
        .MatchSoundsLike = False
        .MatchWildcards = False
        .MatchFuzzy = False
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
End Sub