Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Thu, 14 Aug 2008 23:17:01 -0700,    group: microsoft.public.word.vba.general        back       


Re: AutoText Formatting Question   
Hi Cindy

What exact code do you put in for the parameter RichText:=True

"Cindy M  -WordMVP-" wrote:

> Hi =?Utf-8?B?amJj?=, 
> 
> > I'm inserting an AutoText into my document that loses it's paragraph 
> > formatting when I put it in with code.  The formatting holds when I insert it 
> > manually.  
> >  
> > ActiveDocument.AttachedTemplate.AutoTextEntries("Signature").Insert 
> > Where:=Selection.Range
> >  
> > Is there a way to modify the code?
> >
> You need to include the parameter RichText:=True
> 
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
> 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 :-)
> 
>
date: Thu, 14 Aug 2008 23:17:01 -0700   author:   Sophie

Re: AutoText Formatting Question   
ActiveDocument.AttachedTemplate.AutoTextEntries("Signature").Insert 
Where:=Selection _
        .Range, RichText:=True

-- 
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Sophie wrote:
> Hi Cindy
>
> What exact code do you put in for the parameter RichText:=True
>
> "Cindy M  -WordMVP-" wrote:
>
>> Hi =?Utf-8?B?amJj?=,
>>
>>> I'm inserting an AutoText into my document that loses it's paragraph
>>> formatting when I put it in with code.  The formatting holds when I
>>> insert it manually.
>>>
>>>
>>>
>>> Is there a way to modify the code?
>>>
>> You need to include the parameter RichText:=True
>>
>> Cindy Meister
>> INTER-Solutions, Switzerland
>> http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
>> 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 :-)
date: Fri, 15 Aug 2008 16:09:11 +0300   author:   Graham Mayor

Re: AutoText Formatting Question   
Thank you so much.  
"Graham Mayor" wrote:

> ActiveDocument.AttachedTemplate.AutoTextEntries("Signature").Insert 
> Where:=Selection _
>         .Range, RichText:=True
> 
> -- 
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor -  Word MVP
> 
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> 
> 
> Sophie wrote:
> > Hi Cindy
> >
> > What exact code do you put in for the parameter RichText:=True
> >
> > "Cindy M  -WordMVP-" wrote:
> >
> >> Hi =?Utf-8?B?amJj?=,
> >>
> >>> I'm inserting an AutoText into my document that loses it's paragraph
> >>> formatting when I put it in with code.  The formatting holds when I
> >>> insert it manually.
> >>>
> >>>
> >>>
> >>> Is there a way to modify the code?
> >>>
> >> You need to include the parameter RichText:=True
> >>
> >> Cindy Meister
> >> INTER-Solutions, Switzerland
> >> http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
> >> 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 :-) 
> 
> 
>
date: Sun, 17 Aug 2008 16:23:04 -0700   author:   Sophie

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us