AutoText without formats

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all

I'm certain that in previous versions of Word, you had the option to include or not include character formatting when creating AutoText entries. I can't find that now in Office XP. Is there a way to create an AutoText entry that will take on the formatting of the destination

TIA

Toni
 
Toni,

I think you are might be remembering plain text or
formatted text autocorrect entries which you can do in
WordXP and Word2000.

An AutoText entry will take on the formatting of the
paragraph style it is applied in. The exception is that
if you have applied direct formatting to your AUTOTEXT
entry (e.g., bold) the bold will be stipped off (toggled)
if you apply the entry in a style with bold font attribute.

-----Original Message-----
Hello all:

I'm certain that in previous versions of Word, you had
the option to include or not include character formatting
when creating AutoText entries. I can't find that now in
Office XP. Is there a way to create an AutoText entry that
will take on the formatting of the destination?
 
Hi =?Utf-8?B?VG9uaSBOZWU=?=,
I'm certain that in previous versions of Word, you had the option to include or not include character formatting when creating AutoText entries. I can't find that now in Office XP. Is there a way to create an AutoText entry that will take on the formatting of the destination?
Indeed, this option was available through Word95, then lost to the UI.

If you want to insert an AutoText entry as plain text, then you need to use a macro. For example:

Sub PlainAutoText()
With Dialogs(wdDialogEditAutoText)
.Display
SelUser = .Insert
SelAT = .Name
End With
If SelUser = -1 Then
NormalTemplate.AutoTextEntries(SelAT).Insert _
Where:=Selection.Range, RichText:=False
End If
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-)
 
AutoText entries that do not include a paragraph mark will take on the
paragraph formatting of the paragraph into which they are inserted. If they
include a paragraph mark, the paragraph preceding that mark takes on the
paragraph formatting from the original. Exception is that if the paragraph
formatting is applied through a style which exists in the target document
then the style in the target document is used even if formatted differently
than the style in the original.
--

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
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.
 
Back
Top