G Guest Mar 22, 2005 #1 Can you make Word replace a space with a non-breaking space automatically after numerals?
G Graham Mayor Mar 22, 2005 #2 No. You can, however run a macro to make the change Sub ChangeSpaceAfterNumber() Selection.HomeKey Unit:=wdStory Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "([0-9])[ ]" .Replacement.Text = "\1^s" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute replace:=wdReplaceAll End Sub See http://www.gmayor.com/installing_macro.htm -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
No. You can, however run a macro to make the change Sub ChangeSpaceAfterNumber() Selection.HomeKey Unit:=wdStory Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "([0-9])[ ]" .Replacement.Text = "\1^s" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute replace:=wdReplaceAll End Sub See http://www.gmayor.com/installing_macro.htm -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com <>>< ><<> ><<> <>>< ><<> <>>< <>><<>