Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2018, 08:18 PM
Learners Permit Learners Permit is offline Hyperlinks in protected document not behaving properly... Windows 10 Hyperlinks in protected document not behaving properly... Office 2016
Novice
Hyperlinks in protected document not behaving properly...
 
Join Date: Jun 2018
Location: Tucson, AZ
Posts: 3
Learners Permit is on a distinguished road
Default Hyperlinks in protected document not behaving properly...

I have a word document, protected to allow form field completion, with hyperlinks to content within the same document. I bookmarked the destination and created the link and ctrl+click takes me to the bookmarked destination. When I protect the document ctrl+click takes me to the bookmarked destination for a quick second then jumps to the top of the very first page.



I set up a macro:

Sub FollowLink()
Selection.Hyperlinks(1).Follow
End Sub

and then updated my link:

{MacroButton "FollowLink"{HYPERLINK \| "Framework_Stewardship"}}

Still get the same quick peek at the destination bookmark and again am redirected to the top of the first page.

Any ideas how to get this to work?
Reply With Quote
  #2  
Old 07-17-2018, 04:16 AM
Guessed's Avatar
Guessed Guessed is offline Hyperlinks in protected document not behaving properly... Windows 10 Hyperlinks in protected document not behaving properly... Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

When the protection means that you can't select text at the bookmarked destination why do you think you can get the cursor to go there by following a hyperlink?

You are going to have to change your approach with either the protection or the macro for the hyperlinks.

Are you using Content Controls for the data entry? If so, I would select all and group on the Developer Tab to implement a 'poor man's protection' which will still allow selections (but not edits) outside of the CCs.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 07-17-2018, 02:49 PM
macropod's Avatar
macropod macropod is offline Hyperlinks in protected document not behaving properly... Windows 7 64bit Hyperlinks in protected document not behaving properly... Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The alternative is to unprotect the destination. You can do that by inserting Section breaks before/after it and leaving that Section unprotected when you apply the 'filling in forms' protection.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlinks that Do Not Exist in the Original Word Document Appearing in the PDF Document diarrheaofthewprocessor Word 11 01-24-2017 01:52 PM
Hyperlinks not working properly in Word 2013 to PDF conversion Kayjay Word 0 02-25-2016 04:21 AM
Hyperlinks in protected document not behaving properly... Protected Document: Multiple Hyperlinks Andrew H Word VBA 7 11-26-2012 01:08 PM
Hyperlinks in protected document not behaving properly... decimal numbers not appearing properly in merged document paulys Mail Merge 2 08-06-2012 08:15 AM
Hyperlinks in protected document not behaving properly... Hyperlinks to password protected webpage john_ Outlook 2 07-28-2011 01:43 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:14 PM.


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