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 :-) > >
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 :-)
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 :-) > > >