G
Greg Allen
I have some code that cycles through the table cells in a selection,
like this:
Dim Tag As String
Dim C as Cell
For Each C In W.Application.Selection.Range.Cells
Tag = C.Range.Text
' More stuff here.
Next
However, when I look at the value of C.Range.Text, it has 2 strange
characters at the end, an 0xd followed by an 0x7. I can understand
the 0xd (CR), but the 0x7 (bell) is confusing.
Why is this character there? Is it because the text is selected? Should
I always expect to see it there and strip it off?
Is this normal?
TIA,
-- Greg Allen
like this:
Dim Tag As String
Dim C as Cell
For Each C In W.Application.Selection.Range.Cells
Tag = C.Range.Text
' More stuff here.
Next
However, when I look at the value of C.Range.Text, it has 2 strange
characters at the end, an 0xd followed by an 0x7. I can understand
the 0xd (CR), but the 0x7 (bell) is confusing.
Why is this character there? Is it because the text is selected? Should
I always expect to see it there and strip it off?
Is this normal?
TIA,
-- Greg Allen