Protection in Excel - how do i hide some info. from some users
hi,
lets say i have a table o 5 coulmns:
A-E and i i have information in all the columns, but i whant that some of
the users will not be able to see the data in coulms D and E. how do i do
this.
"Peter Rooney" wrote:
Michael,
Try something like this:
Sub Password()
Message = "Enter Password"
Title = "Restricted User Mode"
DefaultPassword = "********"
ReturnedPassword = UCase(InputBox(Message, Title, DefaultPassword))
If ReturnedPassword < "MyPassword" Then
Exit Sub
Else
'Unprotect your ranges etc
End If
End Sub
On;y the prople who know "Mypassword" will be able to reveal the hidden
renges, columns, rows etc.
Hope this helps
Pete
"michael" wrote:
I need to protect a workbook that will hide some of the information from
several users but will show this information to other users. it is very urgent
|