[quote user="Darin Rodberg"]oNode.textLine(1) = txt [/quote]
Clearly we should consider that line suspect, but of what I don't know. Try adding some trace statements to show us what's going on...
Debug.Print "TextNode has " & oNode.TextLinesCount & " lines" Debug.Print "Current content of oNode.textLine(1) '" & oNode.textLine(1) & "'" Debug.Print "About to replace with '" & txt & "'" oNode.textLine(1) = txt