Hello,
Is there a way to prevent the user from accessing the names manager with XLS Padlock?
Thanks,
Anna.
Hello,
Is there a way to prevent the user from accessing the names manager with XLS Padlock?
Thanks,
Anna.
Hello Anna,
I donβt know of a way to prevent the user from accessing the names manager. However, I hid the names with a hide/unhide routine which I run prior to compiling the workbook.
Iβll share it with youβ¦
β-----------------------------------------------------------------------------------------β
β This routine is used to hide/unhide all names in the name manager. β
β It is called by the WS_Hide-Unhide subroutine. β
β β
β 10/21/2021 - New procedure. β
β-----------------------------------------------------------------------------------------β
β Excel VBA hide names defined in Name Manager - Stack Overflow
Private Sub Hide_Name_Manager(Hide As Boolean)
Dim xName As Name
On Error Resume Next
β loop through all names
For Each xName In Application.ThisWorkbook.Names
β Want to skip the ones that begin with β", they seem internal.
If Left(xName.Name, 1) <> "β Then xName.Visible = Not Hide
Next xName
Err.Clear
End Sub