M
msnews.microsoft.com
How can I bold a single character from VB when writing a range to a Word
doc?
The code I use is thus - minues declarations and instantiations
How would I bold the word "a" in strText?
Set wPar = wDoc.Paragraphs.Add
strText = "This is a simple message."
strText = strText & vbCrLf
With wPar.Range
.Text = strText
.Font.Name = "Arial"
.Font.Size = 8
'.Paragraphs.Space15
.Bold = False
' .Font.Color = wdColorWhite
End With
doc?
The code I use is thus - minues declarations and instantiations
How would I bold the word "a" in strText?
Set wPar = wDoc.Paragraphs.Add
strText = "This is a simple message."
strText = strText & vbCrLf
With wPar.Range
.Text = strText
.Font.Name = "Arial"
.Font.Size = 8
'.Paragraphs.Space15
.Bold = False
' .Font.Color = wdColorWhite
End With