Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-19-2018, 09:09 AM
rjb rjb is offline Make Autocorrect Case-Specific? Windows 10 Make Autocorrect Case-Specific? Office 2019
Novice
Make Autocorrect Case-Specific?
 
Join Date: May 2014
Posts: 2
rjb is on a distinguished road
Default Make Autocorrect Case-Specific?

I have a word that sometimes has to be all lower-case, and sometimes has to be all upper-case. It will NEVER be Title Case. (In other words, sometimes it must appear example, sometimes EXAMPLE, never Example.)





It frequently appears at the start of sentences/paragraphs, so if I type it all lower case, the "Capitalize first letter of sentences" rules (e.g., I start a sentence by typing "example", Autocorrect turns it into Example.)


So I created an Autocorrect entry that corrects "Example" to example. Works like a charm. Unless I need it to be All-Caps. Now, when I type EXAMPLE it Autocorrects to example. I can back-space/Undo, but that is irritating.


When I try to add "EXAMPLE" to Autocorrect's "Replace" box, it actually auto-corrects in the field form to "Example"!



Is there a way - outside of Macros (which are forbidden on some work computers) - to set an entry that is case-specific? So "Example" becomes example and "EXAMPLE" stays EXAMPLE?


Thanks!
Reply With Quote
  #2  
Old 11-19-2018, 12:38 PM
Charles Kenyon Charles Kenyon is offline Make Autocorrect Case-Specific? Windows 10 Make Autocorrect Case-Specific? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,138
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

The only thing I can recommend is to turn off the Capitalize first word of a sentence.


For things that you need in all caps, you could use a character style that is ALL CAPS.
Reply With Quote
  #3  
Old 11-19-2018, 12:44 PM
rjb rjb is offline Make Autocorrect Case-Specific? Windows 10 Make Autocorrect Case-Specific? Office 2019
Novice
Make Autocorrect Case-Specific?
 
Join Date: May 2014
Posts: 2
rjb is on a distinguished road
Default

Thanks. Some follow-up questions.



Quote:
Originally Posted by Charles Kenyon View Post
The only thing I can recommend is to turn off the Capitalize first word of a sentence.
Yeah, that's what I thought. But I need that functionality a TON.



Quote:
Originally Posted by Charles Kenyon View Post
For things that you need in all caps, you could use a character style that is ALL CAPS.
But Styles pertain to an entire paragraph - not just the one word, right?
Reply With Quote
  #4  
Old 11-19-2018, 12:47 PM
Charles Kenyon Charles Kenyon is offline Make Autocorrect Case-Specific? Windows 10 Make Autocorrect Case-Specific? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,138
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Character style vs. paragraph style.
Reply With Quote
  #5  
Old 11-19-2018, 09:11 PM
gmayor's Avatar
gmayor gmayor is offline Make Autocorrect Case-Specific? Windows 10 Make Autocorrect Case-Specific? Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,105
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

You could create a pair of macros and associate them with keyboard shortcuts to apply upper orlower case to any word the cursor is in e.g.
Code:
Sub Macro1()
Dim orng As Range
    Set orng = Selection.Words(1)
    orng.Text = UCase(orng.Text)
lbl_Exit:
    Set orng = Nothing
    Exit Sub
End Sub

Sub Macro2()
Dim orng As Range
    Set orng = Selection.Words(1)
    orng.Text = LCase(orng.Text)
lbl_Exit:
    Set orng = Nothing
    Exit Sub
End Sub
Another possibility is to use PhraseExpress This is like an upscaled version of autocorrect and will allow you to create separate autocorrect entries for example and EXAMPLE on the same shortcut.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Word - Find & Apply Styles to Specific Words - Using Case Statement jc491 Word VBA 17 12-26-2015 12:25 PM
How to make word ignore a specific shape when printing? ZAK Word 12 04-07-2014 03:14 PM
How to make a SPECIFIC FONT shortcut button? E922 Word 4 03-18-2014 03:11 PM
Make Autocorrect Case-Specific? Autocorrect to make words Bold? GB89 Word 1 04-15-2010 09:04 PM
Make Autocorrect Case-Specific? From all UPPER CASE to Proper Case davers Word 1 04-30-2009 12:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft