Compare text from Bookmark with text from Text box
I have been programming with VBA for years in MS Acces, but I have to admit that I have not used VBA in MS Word very much.
I have a situation where I am reading a text value from an enclosed bookmark and also reading a text value from a textbox. I am storing each of these values in a text type variable for each. I am then comparing the two values. This sounded simple enough, however, the two values never match, even when I have reduced these two values to just an "A" in the bookmark and in the textbox.
I would like to know if anyone has had any experience with something like this and if so how you managed to get the comparison to work.
Thanks in advance for any assistance.
Byron
|