Detectiveclem
Active Member
- Joined
- May 31, 2014
- Messages
- 320
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
Hi I am having problems inserting Hyperlinks in unlocked cells on protected worksheets.
With the help of this forum I have been successfully using the code below to auto filter
However, I have noticed after this code is run, I am unable to insert a hyperlink in the unlocked cells. I have tried selecting the option to allow Hyperlinks in the unlocked cells but as soon as the following code is run the option to insert hyperlink is greyed out.
I would appreciate any help in resolving this issue
Sub LiveDan()
'
' LiveDan Macro
'
ActiveSheet.Unprotect Password:="????????"
'
ActiveSheet.Range("$B$16:$U$2006").AutoFilter Field:=6, Criteria1:= _
"<>*Completed*", Operator:=xlAnd, Criteria2:="<>*Cancelled*"
ActiveSheet.Protect Password:="?????????"
End Sub
Sub AllcontractsGina()
'
' AllcontractsGina Macro
ActiveSheet.Unprotect Password:="?????????"
'
'
ActiveSheet.Range("$B$16:$U$2006").AutoFilter Field:=6
ActiveSheet.Protect Password:="??????????"
End Sub
With the help of this forum I have been successfully using the code below to auto filter
However, I have noticed after this code is run, I am unable to insert a hyperlink in the unlocked cells. I have tried selecting the option to allow Hyperlinks in the unlocked cells but as soon as the following code is run the option to insert hyperlink is greyed out.
I would appreciate any help in resolving this issue
Sub LiveDan()
'
' LiveDan Macro
'
ActiveSheet.Unprotect Password:="????????"
'
ActiveSheet.Range("$B$16:$U$2006").AutoFilter Field:=6, Criteria1:= _
"<>*Completed*", Operator:=xlAnd, Criteria2:="<>*Cancelled*"
ActiveSheet.Protect Password:="?????????"
End Sub
Sub AllcontractsGina()
'
' AllcontractsGina Macro
ActiveSheet.Unprotect Password:="?????????"
'
'
ActiveSheet.Range("$B$16:$U$2006").AutoFilter Field:=6
ActiveSheet.Protect Password:="??????????"
End Sub