Change multiple characters in a textframe at a time in vbs
I can use "characters" properties as follows to change a character contents in a textframe:
doc.TextFrames(1).Characters(6).Contents = "F"
But I don't know how to change multiple characters in a textframe at a time (For example, "12345678" change to "12abcd78" )?
At the same time, I found that the following codes have the same function. I don't know the difference between them (Characters and TextRanges properties)?
doc.TextFrames(1).TextRanges(6).Contents = "F"
Can anyone know this and help me?