Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15189

MsOf365 Basic userform on update removing bookmarks from doc

$
0
0
Dear All,
This is probably an obvious one I’m missing. I have created a basic userform on a dotm that consists of 7 text boxes to make stock labels basically.
The userform posts the text to the document and then prints it, I then have a reset button that blanks the text boxes for re-input but the previous data now seems to have saved into the document and update button fails as it can’t find the bookmarks? Basically because the document still has the last data in them. Bookmarks are gone?
I have tried removing the print option in case it is doing the save?
I’m using ActiveDocument.Printform which works.
I also tried amending the reset button to unload and reload the userform it doesn’t change the outcome either?
I guess it’s something staring me in the face? But I’m scratching my head.
The document itself has fields that I have the bookmarks around could this be the issue?
Any help would be much appreciated.
Thanks!

Viewing all articles
Browse latest Browse all 15189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>