Autocorrect a single space after period at end of sentence

M

Michelle

I am trying to train myself to not put 2 spaces between sentences anymore. I
have changed the Spelling & Grammar setting to 1 space. This however does not
automatically change the spacing. I thought maybe there would be a way to
autocorrect this so that as I am typing it corrects itself automatically
instead of having to change it in spellcheck. I can't seem to get the
spellcheck to "correct all" and when I try to find and replace all, well it
doesn't work right. If you know of a way to make this autocorrect that would
be great.
 
D

Daiya Mitchell

You can't make it AutoCorrect, sorry.

Find and Replace All should work, I use it all the time--literally, put
the cursor in Find and hit spacebar twice. Put the cursor in Replace and
hit the spacebar once. You can't see the setup, but it's there and
should work. (If it still doesn't work, click on Advanced/More to
expand the Find dialog and clear all the settings and try again).

No clue about getting Spellcheck to correct all.
 
G

Graham Mayor

Add the following macro to a toolbar button or keyboard shortcut
http://www.gmayor.com/installing_macro.htm and it will remove all extra
spaces from your document.

Sub RemoveExtraSpaces()
With Selection
With .Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = "([ ]){1,}"
.Replacement.Text = "\1"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
.Execute replace:=wdReplaceAll
End With
End With
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top