ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Securing coded hyperlinks (https://www.excelbanter.com/excel-programming/401611-securing-coded-hyperlinks.html)

PurpleMilk

Securing coded hyperlinks
 
How do I protect/lock cells with hyperlinks yet still have users click on them.

I have a form in "Survey" tab for users to enter data. Column F contains
all the questions, Column G is where users answer the questions, and column H
is where I want users to click a hyperlink if they want more details about
the questions.

I have all cells locked except the answer cells. Currently, the hyperlink
coding is like this and links to "reference tab":
=HYPERLINK("#'Reference'!"&AA150&AB150,"?")

FYI, I use the above code because I have about 100 hyperlinks and I need an
easy way to change the links without clicking on each separate one.

When I protect the sheet, I can't access the hyperlinks. So if I unlock the
hyperlink cells, I can access the links however users can now edit those
cells and remove the hyperlink by typing in a value.

How can I get around this?

PurpleMilk

Securing coded hyperlinks
 
It's ok, I figured out a way. I have to use "allow user ranges" in
combination with locked/unlocked cells. It's a little painful, but it works.

"PurpleMilk" wrote:

How do I protect/lock cells with hyperlinks yet still have users click on them.

I have a form in "Survey" tab for users to enter data. Column F contains
all the questions, Column G is where users answer the questions, and column H
is where I want users to click a hyperlink if they want more details about
the questions.

I have all cells locked except the answer cells. Currently, the hyperlink
coding is like this and links to "reference tab":
=HYPERLINK("#'Reference'!"&AA150&AB150,"?")

FYI, I use the above code because I have about 100 hyperlinks and I need an
easy way to change the links without clicking on each separate one.

When I protect the sheet, I can't access the hyperlinks. So if I unlock the
hyperlink cells, I can access the links however users can now edit those
cells and remove the hyperlink by typing in a value.

How can I get around this?



All times are GMT +1. The time now is 07:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com