How can I reverse numbers and letters

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I work at a school for dyslexic children. In my reports and forms there is
a need for letter and number reversals. I can't seem to find out what I need
to do to accomplish this. Can anyone help?
 
A number of built-in AutoCorrect entries already handle a number of common
reversals. For example, if I type retreive, Word automatically changes it to
retrieve.

One way to handle the problem would be to add new AutoCorrect entries to
handle these as they arise. Right-click the Word (once i'ts been flagged as
a possible misspelling), choose AutoCorrect, and click the correct spelling.
This adds it to the list.

Or... if this isn't quite what you want, you could write a macro to
transpose two letters. This can be done quite simply by recording the steps
as you perform them. The macro would need to "know" whether the insertion
point is at the beginning of the two letters to be swapped, the end, etc.
Or, you could begin with the two letters selected. With the insertion point
positioned at the beginning of a two-letter combination, the following macro
will swap them:

Sub SwapNext2Chars()
'
' Macro recorded 7/25/2007 by Herb Tyson
'
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
WordBasic.MoveText
Selection.MoveRight Unit:=wdCharacter, Count:=2
WordBasic.OK
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

Back
Top