Andrew Bernhardt was telling us:
Andrew Bernhardt nous racontait que :
> How do I append formatted text to a table cell that has text with a
> different format (i.e. append a word in blue letters to a cell that
[quoted text clipped - 11 lines]
>
> The word is instead added to the beginning of cell(1,4).
This is because the cell range includes the end of cell marker (?). So, when
you collapse, the range starts *after* the cell marker in cell 1,3, i.e at
the beginning of cell 1,4.
Try this instead:
'_______________________________________
Dim R As Range
Set R = ActiveDocument.Tables(1).Cell(1, 3).Range
With R
.MoveEnd wdCharacter, -1
.Collapse wdCollapseEnd
.InsertAfter "TEST"
.Font.Color = wdColorRed
End With
'_______________________________________

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org
andyb@volcanomail.com - 31 Mar 2005 19:39 GMT
Thanks, that is what I was looking for.
- Andrew
> Andrew Bernhardt was telling us:
> Andrew Bernhardt nous racontait que :
[quoted text clipped - 16 lines]
>
> This is because the cell range includes the end of cell marker (¤).
So, when
> you collapse, the range starts *after* the cell marker in cell 1,3, i.e at
> the beginning of cell 1,4.
[quoted text clipped - 19 lines]
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org