Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2020, 06:38 PM
alexce101 alexce101 is offline auto replacing a word as I go Windows 10 auto replacing a word as I go Office 2019
Novice
auto replacing a word as I go
 
Join Date: Nov 2020
Posts: 1
alexce101 is on a distinguished road
Default auto replacing a word as I go

Hi,



I need that when I write /def it changes to [def] in a specific format and in blue.

This is for some sort of coding. it would save me a lot of time and search and replace won't work for that.

Any idea how word can recognize /def and auto switch it to what I need in the format I need?

Thanks a bunch

Alex
Reply With Quote
  #2  
Old 11-15-2020, 07:05 PM
Guessed's Avatar
Guessed Guessed is offline auto replacing a word as I go Windows 10 auto replacing a word as I go Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Select some instance of [def] that is formatted exactly as you want it. Then go to File > Options > Proofing > AutoCorrect Options... > AutoCorrect. Make sure the Formatted text option is selected and type /def in the Replace box. Then OK out of those dialogs.

Now test it by typing /def followed by a space
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 11-18-2020, 05:03 PM
Charles Kenyon Charles Kenyon is offline auto replacing a word as I go Windows 10 auto replacing a word as I go Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
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

Exploiting AutoCorrect by Suzanne Barnhill, MVP
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto replacing a word as I go Macro for batch word find and replacing .. nmkhan3010 Word VBA 1 02-26-2020 04:11 PM
auto replacing a word as I go replacing multiple ranges in excel with tables in word from top to bottom modiria50989 Word VBA 5 09-13-2017 04:01 PM
auto replacing a word as I go Auto populate & auto calculate values from other sections in the same word document Frantic Word VBA 2 01-24-2015 04:54 PM
auto replacing a word as I go Mass replacing word(s) alysolyman Word VBA 10 02-27-2013 01:56 PM
auto replacing a word as I go Word replacing problem!!!! Jamal NUMAN Word 2 07-08-2011 03:56 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:18 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