View Single Post
 
Old 07-29-2014, 08:56 PM
Byron Polk Byron Polk is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Jul 2014
Location: Whitehouse, TX
Posts: 14
Byron Polk is on a distinguished road
Default 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
Reply With Quote