Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Why the returned value of the InStr function differs from the real one?
Hi,
I am writing macro that changes the color of the part of the text. For determining the start and end position I use the InStr function. Text is in the table. The returned value of the InStr function is correct only for the cell(1,1). As soon as it moves to the next cell, the returned value (character position) is different from the real one (it is one more than it should be in the cell(1,2)). This difference increases as it moves from one cell to another. Can someone help me with this? Thank you very much in advance. Regards, Robert |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word Compare and Merge Document Function | Microsoft Word Help | |||
Your "Help" function has become totally useless | Microsoft Word Help | |||
Stop Overtype Function from popping up while using Word | Microsoft Word Help | |||
Can't Open Data Source (Query) where criteria is defined by functi | Mailmerge | |||
HitTest function does not return node as documented | Microsoft Word Help |