Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Transpose 2 characters, as in "prefect" to "perfect"
I'm using Word 2007, but this question would apply to most versions of the
software. In the early days, there was a simple keyboard shortcut (no cumbersome macro, Vbase language, etc.) to transpose two mis-typed letters. For instance, if one typed "prefect" instead of "perfect" (a case in which a spell-check will not help), one could put the cursor between the R and the E and hit something simple like control-T, and the two letters would switch places. Nowadays, control-T creates a hanging indent - all well and good, since I use a lot of those - but I can't remember the little shortcut that transposes letters. Can anyone help? Many thanks! |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Transpose 2 characters, as in "prefect" to "perfect"
You'll need the 'cumbersome macro'.
With Selection .MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend .Cut .MoveRight Unit:=wdCharacter, Count:=1 .Paste End With which you can attach to a keyboard shortcut of your choice - see http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Buteonidae wrote: I'm using Word 2007, but this question would apply to most versions of the software. In the early days, there was a simple keyboard shortcut (no cumbersome macro, Vbase language, etc.) to transpose two mis-typed letters. For instance, if one typed "prefect" instead of "perfect" (a case in which a spell-check will not help), one could put the cursor between the R and the E and hit something simple like control-T, and the two letters would switch places. Nowadays, control-T creates a hanging indent - all well and good, since I use a lot of those - but I can't remember the little shortcut that transposes letters. Can anyone help? Many thanks! |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Transpose 2 characters, as in "prefect" to "perfect"
"Graham Mayor" wrote: You'll need the 'cumbersome macro'. Thank you, Graham Mayor. The macro was indeed somewhat cumbersome to install, but works like a charm. As to why Weird Willie Gates hasn't simply installed this macro and a corresponding button in Word, we can only look to the gods, no? Thanks again! |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Transpose 2 characters, as in "prefect" to "perfect"
A less cumbersome macro:
With Selection .Text = Mid(.Text, 2) & Left(.Text, 1) End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "Buteonidae" wrote in message news "Graham Mayor" wrote: You'll need the 'cumbersome macro'. Thank you, Graham Mayor. The macro was indeed somewhat cumbersome to install, but works like a charm. As to why Weird Willie Gates hasn't simply installed this macro and a corresponding button in Word, we can only look to the gods, no? Thanks again! |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Transpose 2 characters, as in "prefect" to "perfect"
I think you can set up an Exclusion dictionary, too to catch with spellcheck
those words that are valid but less likely to actually be the appropriate context: prefect perfect pubic public coarse course manger manager |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I can't "Open" a downloaded template. Only "Save" and "Cancel" | Microsoft Word Help | |||
What does "char" "char1" "char2" mean in styles in Word? | Microsoft Word Help | |||
Word: 'track changes": have "changed by" rather "del." and "inser | Microsoft Word Help | |||
The "Symbol" under "Insert" disappeared and replaced by "Number" | Microsoft Word Help | |||
MS Word "eating" or "erasing" characters as I type | Microsoft Word Help |