Group: microsoft.public.word.vba.general
From: =?Utf-8?B?SmVhbi1HdXkgTWFyY2ls?=
Date: Friday, February 15, 2008 3:10 PM
Subject: RE: setting 2 different style on same line



"Grenier" wrote:

> I'm automating a Word report with Access. How can I set 2 different style on
> a single line of text. Ex:
>
> Enterprise: Name of enterprise
>
> "Enterprise:" sould be in style1 and "name of enterprise" in style 2
> .TypeText Text:="Enterprise:" & vbTab & rst!EnterpName
>

Without knowing why you need two styles, it is difficult to offer any advice.
But, have you considered using character styles?

Safety Articles | Usenet Groups | Usenet News | Bluegrass