I am using a userform to update some text in a word document.
As of now I have bookmarked the place in Word doc. and use the below code to enter a value from a userform combobo or textbox. This method inserts the control value in the word file. It does not replace the text. I tried searching for option around the WordDoc.Bookmarks("TextArea").Range. method, but couldn't find any.
How do I replace the text with new text?
Above code works fine when the bookmark is a blank space and I need to insert a fresh text.Please Login or Register to view this content.
Bookmarks