![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#9
|
|||
|
|||
|
Hello Brian,
Here are the two macros called into play by the one that I posted last week. It’s worked for me for about 20 years now, but suddenly quit. Thanks in advance for your help! Sub SentenceLeft() ' ' SentenceLeft Macro ' ' Selection.MoveLeft Unit:=wdSentence, Count:=1 End Sub Sub CapitalizeNextLetter() ' ' CapitalizeNextLetter Macro ' ' Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend Selection.Range.Case = wdToggleCase Selection.MoveLeft Unit:=wdCharacter, Count:=1 End Sub I’ve attached an illustration of the desired effect. By the way, I tried to find a way to get the following joke to work for this illustration, but was unsuccessful: My wife: You need to do more chores around the house. Me: Can we change the subject? My wife: Ok. More chores around the house need to be done by you. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Keep text selected after paste
|
dabbler | Word | 14 | 01-11-2021 09:54 AM |
Copy selected text from one document and paste to new document in same position on the page
|
gasparik | Word VBA | 1 | 05-11-2020 05:41 AM |
Find and Replace Selected Text or Macro for finding selected text
|
mrplastic | Word VBA | 4 | 12-20-2019 01:25 PM |
Help debugging a Macro that merges individual word docs into one document
|
vincenzo345 | Word VBA | 4 | 12-01-2017 11:25 AM |
Macro (debugging)
|
JACKsparrow | Word VBA | 1 | 03-09-2016 02:47 PM |