![]() |
|
#1
|
|||
|
|||
![]() I would like to have a code, which makes all word from new line (paragraph). Any other method, except just replacing: Code:
Sub Wordsfromnewline() With Selection.Find .Text = " " .Replacement.Text = "^p" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchByte = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute Replace:=wdReplaceAll Exit Sub End Sub |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
eduardb | Word | 1 | 08-10-2022 03:17 AM |
![]() |
ozzzy | Word | 2 | 01-21-2021 06:41 AM |
![]() |
Yancx | Word | 6 | 03-21-2018 04:48 PM |
![]() |
MikeWhite | Word | 5 | 01-20-2017 03:39 PM |
![]() |
bracketandquotes | Word VBA | 17 | 02-16-2015 03:51 PM |