Sorry to say this sir, But it still failed to address my problem. What the code should be able to do is, if first word of the selection is in vfindtext(i) then just ignore it and replace all from the second word. For example, many sentences start from To, The, A, An etc. which are listed in vfindtext array I don't want to replace them if they are in the starting position of range or sentences Else replace them. The above code works excellent just fails to address this problem.
|