VBAjedi,
Thanks for the respond. It is a Word template. This was leading to my second question which is how can I use the same data on a second/different Word document?
Hi,
I have a userform and would like to be able to save the data/value entered so that when the form is re-openned from the same document, the data doesn't have to be re-entered.
Thanks in advance.
Use the following sub. It works for me.
Sub UpdateBookmark(BookmarkToUpdate As String, TextToUse As String)
Dim BMRange As Range
Set BMRange = ActiveDocument.Bookmarks(BookmarkToUpdate).Range
BMRange.Text = TextToUse
ActiveDocument.Bookmarks.Add BookmarkToUpdate, BMRange
End Sub...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.