Jump to content
IndiaDivine.org

AutoCorrect in Word

Rate this topic


Guest guest

Recommended Posts

> Dear Maharajas and Prabhus

> PAMHO AGTSP

>

> Does anyone know how to get Word to REPLACE 2 or more empty spaces in a

> line with just one space, preferably in AutoCorrect or otherwise in the

> Find and Replace?

 

Hit Ctrl F (Find), click the "Replace" tab; it gives the option "Find what:"

and you type in 2 spaces, and underneath where it says "with what:" type in

one space.

 

ys

Link to comment
Share on other sites

I don't think you can do it in autocorrect, just find and replace. Hit two

spaces in the find box and one in the replace box. You won't see any

characters but that's all right. Then hit replace all. Run it through a few

times in case you had 3 or more spaces in the original.

 

I've got a nice macro that handles this:

 

Public Sub MAIN()

WordBasic.EditReplace Find:=" ", replace:=, Direction:=0, MatchCase:=1,

WholeWord:=0, PatternMatch:=0, SoundsLike:=0, ReplaceAll:=1, Format:=0, Wrap:=1

End Sub

 

 

Your servant,

Dravida dasa

 

 

At 05:32 AM 11/2/2006 -0500, Ajamila (das) ACBSP (Goloka Books - UK) wrote:

 

>Dear Maharajas and Prabhus

>PAMHO AGTSP

>

>Does anyone know how to get Word to REPLACE 2 or more empty spaces in a line

>with just one space, preferably in AutoCorrect or otherwise in the Find and

>Replace?

>

>In Tools AutoCorrect Options you can REPLACE (words or characters) WITH

>(other words and characters). I need to know 'which' characters represent

>one space bar, if at all that is possible.

>

>Thanks.

>

>ys

>

>ad

>

>

>--

>

>

>Version: 7.5.430 / Virus Database: 268.13.24/514 - Release 11/2/2006

>5:15 PM

>

>

>

>

>--

>

>

>Version: 7.5.430 / Virus Database: 268.13.24/514 - Release 11/2/2006

>5:15 PM

 

 

--

 

 

Version: 7.5.430 / Virus Database: 268.13.24/514 - Release 11/2/2006 5:15

PM

Link to comment
Share on other sites

Thanks, a useful macro.

 

ys

 

ad

 

> I don't think you can do it in autocorrect, just find and replace. Hit two

> spaces in the find box and one in the replace box. You won't see any

> characters but that's all right. Then hit replace all. Run it through a

> few times in case you had 3 or more spaces in the original.

>

> I've got a nice macro that handles this:

>

> Public Sub MAIN()

> WordBasic.EditReplace Find:=" ", replace:=, Direction:=0,

> MatchCase:=1, WholeWord:=0, PatternMatch:=0, SoundsLike:=0, ReplaceAll:=1,

> Format:=0, Wrap:=1 End Sub

>

>

> Your servant,

> Dravida dasa

>

>

> At 05:32 AM 11/2/2006 -0500, Ajamila (das) ACBSP (Goloka Books - UK)

> wrote:

>

> >Dear Maharajas and Prabhus

> >PAMHO AGTSP

> >

> >Does anyone know how to get Word to REPLACE 2 or more empty spaces in a

> >line with just one space, preferably in AutoCorrect or otherwise in the

> >Find and Replace?

> >

> >In Tools AutoCorrect Options you can REPLACE (words or characters) WITH

> >(other words and characters). I need to know 'which' characters represent

> >one space bar, if at all that is possible.

> >

> >Thanks.

> >

> >ys

> >

> >ad

> >

> >

> >--

> >

> >

> >Version: 7.5.430 / Virus Database: 268.13.24/514 - Release Date:

> >11/2/2006 5:15 PM

> >

> >

> >

> >

> >--

> >

> >

> >Version: 7.5.430 / Virus Database: 268.13.24/514 - Release Date:

> >11/2/2006 5:15 PM

>

>

> --

>

>

> Version: 7.5.430 / Virus Database: 268.13.24/514 - Release 11/2/2006

> 5:15 PM

Link to comment
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...