View Single Post
  #2   Report Post  
Jean-Guy Marcil
 
Posts: n/a
Default

richardC was telling us:
richardC nous racontait que :

Hi, can anyone advice how to change the format of a specific bit of
text in a cell, I can set a whole cell to bold like
Dim r As Word.Range
cell = row.Cells(1)
cell.Range.Text = "This is some text"
r = cell.Range
r.Font.Bold = True
but when i try and use
r.SetRange(cell.Range.Start, 4)
to change the word this to bold I dont actually get the right text
In anticipation thanks, for your help


r.Words(1).Font....
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
ISTOO
Word MVP site:
http://www.word.mvps.org