Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-30-2015, 10:12 AM
mktate mktate is offline Userform without inserting Bookmark text Windows 10 Userform without inserting Bookmark text Office 2010 64bit
Novice
Userform without inserting Bookmark text
 
Join Date: Dec 2015
Posts: 26
mktate is on a distinguished road
Default Userform without inserting Bookmark text


I have long documents that use bookmarks/ASK/REF as the method to include repeated text. The documents also incorporate bookmarks in conjunction with IF fields to insert optional text. The text is never inserted at the bookmark locations (the bookmarks are not placed at insertion points - only "randomly" in the document since they are never used) - the text is only inserted at REF locations (or IF locations). The number of ASK fields is now so large, I would like to create a userform to do the work of the ASK fields but without having to completely "redo" the bookmark/REF/IF from the original documents. The problem is, any userform/VBA code I see inserts text from a textbox at the Bookmark location (replacing the bookmark and/or having further code to reinsert the Bookmark) rather than just providing a value for a Bookmark to then use within the document for the REF/IF fields. Could anyone help with code so that I can ask questions in the userform (with textboxes and/or other content controls, check boxes, etc.) to obtain values for the existing Bookmarks in my document, but NOT to insert at Bookmark locations. I would like to use the userform responses to assign values to the bookmarks for use in the existing fields within the document? I would use ActiveDocument.Fields.Update at the end if I can figure out the Bookmark issue. Thanks.
Reply With Quote
 

Tags
bookmark, if fields, userform



Similar Threads
Thread Thread Starter Forum Replies Last Post
Userform without inserting Bookmark text Bookmark not replaced when inserting but to lower right corner of image newbieX Word VBA 6 11-20-2015 02:03 PM
Send Userform Text to Bookmark tddfs Word VBA 5 07-30-2015 05:55 PM
Userform without inserting Bookmark text Moving Selected Items from a Multiselect Listbox on a userform to a bookmark in Word marksm33 Word VBA 3 01-15-2015 07:55 PM
Userform without inserting Bookmark text Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control skarden Word 1 12-12-2011 10:39 PM
Userform without inserting Bookmark text delete all bookmark text hklein Word VBA 4 08-10-2011 04:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft