bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Editing > AutoText > Extra Spaces after AutoText Substitutions

Extra Spaces after AutoText Substitutions

Summary: AutoText can be a great way to insert large amounts of text with a minimum of typing. If your AutoText entries seem to be followed by unwanted spaces, it could be due to how the AutoText entries were defined in the first place. This tip explains the potential problem and how to fix it. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

Dave is having a problem with substitutions done by AutoText. He has defined a series of AutoText entries that he uses for some common terms. For instance, he has set up an AutoText entry so that gov is replaced with governor and another to replace ctte with committee. Dave uses these by simply typing the shortened version (gov or ctte) and pressing F3 to do the substitution.

When Dave wants to type plural versions of his words (governors or committees), he types the shortened version (gov or ctte), presses F3, and then types the letter s. A problem crops up when doing this, because sometimes there is an extra space added after the AutoText substitution, such that he ends up with "committee s" instead of "committees."

This problem can be rooted in how the AutoText entries were first defined. It is not unusual to select a word (or words) and then press Alt+F3 to define the AutoText entry. If you are not careful, you might select a trailing space with the word or words, and then this trailing space becomes part of the AutoText definition. This can happen if you double-click a word and then (if you want to select multiple words) drag the mouse; Word automatically selects any trailing spaces when selecting in this manner.

The solution is to position the insertion point before the word or words you want to select, and then hold down the Shift key as you use the arrow keys to select exactly what you want, without the trailing space. You can then assign this to your AutoText entry, and you should not run into the problem of extra spaces during the substitutions.

Tip #309 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003


More Power! For some people, the prospect of creating Word macros can be scary. WordTips: The Macros can help you conquer your fears and you'll discover you're much more confident and productive as you make Word do exactly what you want. This is an invaluable source for learning macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of WordTips. Learn at your own pace, exactly the way you want.
 
Check out WordTips: The Macros today!

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)