J
Jay
In Word 97, I've accessed the text of a range I've defined using
Rng.Text. This works fine, but there are sometimes more characters in
the text than there are in the range. This occurs if I have a table,
for instance, where an empty cell or an end of row is represented by
one character in the range but two characters in the text string. It
also occurs if there's some autoshapes present in the document. This
causes problems to me since I'm using the VB function InStr() on the
text string, but need to find the position of my search string in the
range. How do I get around this problem?
Rng.Text. This works fine, but there are sometimes more characters in
the text than there are in the range. This occurs if I have a table,
for instance, where an empty cell or an end of row is represented by
one character in the range but two characters in the text string. It
also occurs if there's some autoshapes present in the document. This
causes problems to me since I'm using the VB function InStr() on the
text string, but need to find the position of my search string in the
range. How do I get around this problem?