Range location versus character count

J

Jared L

I thought the MS Word Range was defined by starting and ending character
count and the story type. Yet, I get different values of "vEndChar" for the
two numbered lines below. Anybody know why?---Jared L

Set vDoc=ActiveDocument
Set vRange=vDoc.range(0,0)
 
J

Jared L

Yes, the range is redefined to be the found character. But shouldn't the
number of characters from the beginning of the document to the found
character be equal to the position of the found character?
 
J

Jezebel

No. The range position includes things (such as end-of-cell markers) that
are not included in the character count.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top