Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
autocorrect
Does anyone know whether/how I can put a non-breaking space in an autocorrect
entry? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
autocorrect
If there is a nonbreaking space in the text selected for the AutoCorrect
entry, it will be included. You may have to save it as "formatted text." -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "faber arcorum" faber wrote in message ... Does anyone know whether/how I can put a non-breaking space in an autocorrect entry? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
autocorrect
You can so long as you save it as a formatted entry.
-- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "faber arcorum" faber wrote in message ... Does anyone know whether/how I can put a non-breaking space in an autocorrect entry? |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
autocorrect
Charles and Suzanne thank you for your responses.
I should have been more specific! I am attempting to autocorrect Mr[space] in all my documents with Mr[non-breaking space] as I do not like a line ending with Mr. Any ideas? Along the same lines I am not very keen on dates straddling two lines and would prefer 18[non-breaking space]January (yes-British English format) to 18 at the end of one line and January at the start of the next. I shall be greatful for any assistance. "Charles Kenyon" wrote: You can so long as you save it as a formatted entry. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "faber arcorum" faber wrote in message ... Does anyone know whether/how I can put a non-breaking space in an autocorrect entry? |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
autocorrect
There is no practical way to do this as you want.
For the non-breaking space you could use a macro http://www.gmayor.com/installing_macro.htm The following will change Mr, Miss, Mrs, Dr, to be followed by non-breaking spaces Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "([MD][irss]{1,3})[ ]" .Replacement.Text = "\1^0160" .Forward = True .Wrap = wdFindAsk .Format = False .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute replace:=wdReplaceAll For the dates, I would suggest inserting a date using a macro With Selection .InsertDateTime DateTimeFormat:="d" & Chr(160) & _ "MMMM" & Chr(160) & "yyyy", InsertAsField:=False End With Or save a date field - { CREATEDATE \@ "d MMMM yyyy" } - as an autotext entry, the switch spaced with non-breaking spaces); however for dates already inserted, you can use a similar method to the above - see http://www.gmayor.com/replace_using_wildcards.htm You will find other information concerning dates and fields on my web site. at http://www.gmayor.com/formatting_word_fields.htm and http://www.gmayor.com/insert_a_date_...than_today.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org faber arcorum wrote: Charles and Suzanne thank you for your responses. I should have been more specific! I am attempting to autocorrect Mr[space] in all my documents with Mr[non-breaking space] as I do not like a line ending with Mr. Any ideas? Along the same lines I am not very keen on dates straddling two lines and would prefer 18[non-breaking space]January (yes-British English format) to 18 at the end of one line and January at the start of the next. I shall be greatful for any assistance. "Charles Kenyon" wrote: You can so long as you save it as a formatted entry. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "faber arcorum" faber wrote in message ... Does anyone know whether/how I can put a non-breaking space in an autocorrect entry? |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
autocorrect
It would be nice, but since Word uses the ending space to trigger
AutoCorrect, it won't include it as part of the entry. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "faber arcorum" wrote in message ... Charles and Suzanne thank you for your responses. I should have been more specific! I am attempting to autocorrect Mr[space] in all my documents with Mr[non-breaking space] as I do not like a line ending with Mr. Any ideas? Along the same lines I am not very keen on dates straddling two lines and would prefer 18[non-breaking space]January (yes-British English format) to 18 at the end of one line and January at the start of the next. I shall be greatful for any assistance. "Charles Kenyon" wrote: You can so long as you save it as a formatted entry. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "faber arcorum" faber wrote in message ... Does anyone know whether/how I can put a non-breaking space in an autocorrect entry? |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
autocorrect
Thanks. Used it to put a nonbreaking hyphen in an autocorrect entry. I did
have to enter it as formatted text. I hope that doesn't bring up some problem or limitation. Could not find the answer anywhere in Microsoft help. Lee Techwriter "Suzanne S. Barnhill" wrote: If there is a nonbreaking space in the text selected for the AutoCorrect entry, it will be included. You may have to save it as "formatted text." -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "faber arcorum" faber wrote in message ... Does anyone know whether/how I can put a non-breaking space in an autocorrect entry? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Autocorrect not working in all Word documents | Microsoft Word Help | |||
Autocorrect problems | Microsoft Word Help | |||
autocorrect help | Microsoft Word Help | |||
AutoCorrect | New Users | |||
AutoCorrect problems in Word 2003 | Microsoft Word Help |