Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2015, 02:07 PM
WR748 WR748 is offline Creating internal hyperlink that highlights specific text within a word doc Windows 8 Creating internal hyperlink that highlights specific text within a word doc Office 2013
Novice
Creating internal hyperlink that highlights specific text within a word doc
 
Join Date: Mar 2015
Posts: 1
WR748 is on a distinguished road
Default Creating internal hyperlink that highlights specific text within a word doc

Do you guys know if its possible to click an internal word hyperlink that would highlight specific text in MS Word. I'm using MS Word 2013
Reply With Quote
  #2  
Old 03-16-2015, 05:22 AM
gmayor's Avatar
gmayor gmayor is offline Creating internal hyperlink that highlights specific text within a word doc Windows 7 64bit Creating internal hyperlink that highlights specific text within a word doc Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,101
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 of
Default

You could make the text the display text of a macrobutton field and use that to run a macro to highlight the bookmarked text. Format the field with the Hyperlink character style

{ MACROBUTTON MacroName Highlight the linked text }

Code:
Sub MacroName()
         ActiveDocument.Bookmarks("bmLink").Range.Select
End Sub
Otherwise the normal behaviour for a hyperlink is to go to the linked text. If that works for you, bookmark the text and create a link to that bookmark name. Clicking the link takes you to the start of the bookmarked text.
__________________
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
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating internal hyperlink that highlights specific text within a word doc Creating a list of all text in a specific style ljd108 Word VBA 15 10-09-2014 02:35 AM
Creating internal hyperlink that highlights specific text within a word doc Need tips for creating a specific word format DomDom Word 5 09-24-2014 01:24 AM
Creating internal hyperlink that highlights specific text within a word doc Hyperlink to specific TOC entry sidbiffel Word 1 07-06-2012 05:25 PM
Creating internal hyperlink that highlights specific text within a word doc Using Hyperlink to open Word Document at Specific Header rossi45 Word 2 05-04-2012 06:03 PM
Creating internal hyperlink that highlights specific text within a word doc Specific Hyperlink dextrousdave Word 1 01-16-2012 09:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:11 AM.


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