C
Charles
I have a User form with a document that is only ever printed, never saved.
Multiple documents are printed with different information inserted via the
User form. I wanted to be able to use the User form over again without
opening a new document.
I thought I had found the answer on Microsoft MVP under Inserting text at a
bookmark without deleting the bookmark using this:
Dim bmkAd1 As Range
Set bmkAd1 = ActiveDocument.Bookmarks("bmkAd1").Range
bmkAd1.Text = TxtAd1.Value
ActiveDocument.Bookmarks.Add "bmkAd1", bmkAd1
This works with one bookmark but if repeated, only the last bookmark is
updated. How do I do repetitive updates? By the way, I tried to use the
optional subroutine but do not have the knowledge or skills for this.
Multiple documents are printed with different information inserted via the
User form. I wanted to be able to use the User form over again without
opening a new document.
I thought I had found the answer on Microsoft MVP under Inserting text at a
bookmark without deleting the bookmark using this:
Dim bmkAd1 As Range
Set bmkAd1 = ActiveDocument.Bookmarks("bmkAd1").Range
bmkAd1.Text = TxtAd1.Value
ActiveDocument.Bookmarks.Add "bmkAd1", bmkAd1
This works with one bookmark but if repeated, only the last bookmark is
updated. How do I do repetitive updates? By the way, I tried to use the
optional subroutine but do not have the knowledge or skills for this.