Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2016, 10:07 PM
gmayor's Avatar
gmayor gmayor is offline Find Bookmark, move to bookmark, execute code, repeat Windows 10 Find Bookmark, move to bookmark, execute code, repeat Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

What EXACTLY is it that you think this code is trying to achieve?
What sort of 'fields' are involved.
If you want to call bookmarks and go to them then call them by name.
If you want to move between fields F11 is pre configured to do that.
If you want to change the contents of a bookmark then see the FillBM function you can find on my web site.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #2  
Old 04-15-2016, 04:40 AM
raymm3852 raymm3852 is offline Find Bookmark, move to bookmark, execute code, repeat Windows 10 Find Bookmark, move to bookmark, execute code, repeat Office 2016
Novice
Find Bookmark, move to bookmark, execute code, repeat
 
Join Date: Apr 2016
Posts: 6
raymm3852 is on a distinguished road
Default

Thank you for attending to my question.

I want the code to
move me to each instance of the bookmark "TranscriptPage"
Open a box asking for the page reference
allow me to look up the page reference for the quote, then enter the page reference into the box
then move to the next instance of the bookmark "TranscriptPage"
and repeat until no further instance of the bookmark

The fields are "ASK" fields.

The code does call the bookmarks by name, the name of each bookmark where page numbers are required is "TranscriptPage". There are multiple instances of bookmarks names "TranscriptPage".

Yes, F11 will move me to the bookmark, but F11 won't open the ASK box and let me enter the page number, then insert the page number into the document, then repeat with next spot.

I don't want to change the contents of the bookmark. The bookmark is where a page reference is needed. The ASK field gathers the page number and enters it into the document.



I hope that explains what I'm trying to do.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iterating through tables to find a bookmark bgmsd Word VBA 12 06-08-2015 10:09 AM
Find Bookmark, move to bookmark, execute code, repeat Bookmark Not Showing Bookmark RegAudit Word 6 03-16-2015 11:08 PM
Find Bookmark, move to bookmark, execute code, repeat Move shape to bookmark location Byron Polk Word VBA 4 08-07-2014 03:21 AM
vba to go to next bookmark megatronixs Word VBA 2 06-08-2014 09:53 PM
Find Bookmark, move to bookmark, execute code, repeat Find and Execute cksm4 Word VBA 1 10-22-2011 11:36 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:04 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