Select and format text in MSWord

pasensyoso_manigbas

Well-known member
Joined
May 19, 2006
Messages
64
Programming Experience
Beginner
Hi guys!

I need help with text formatting. Originally, I have a text which is stored in RTB and then I pass it through word document application. The .rtf format of RTB works fine with me. Gives me the formatting that I need.

On second thought, i want to insert a text directly into word document and in there (word document) that I would like to do the formatting.

I've done something like

With WorpApp.Selection.Find

.Text="word to find"
.Font.Color = Word.WdColor.wdColorBlue --> supposed I want to color it blue

End with

Am i getting this right or something is lacking? Please help me.
Thanks in advance!

Best Regards!
 
Back
Top