Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.setup
|
|||
|
|||
![]()
I have a shared workbook which is used by several people. I would like to
prevent one particular username (the one set it Excel properties) from accessing the workbook. Any help with this would be appreciated. |
#2
![]()
Posted to microsoft.public.excel.setup
|
|||
|
|||
![]()
Not resilient, but maybe good enough
'----------------------------------------------------------------- Private Sub Workbook_Open() '----------------------------------------------------------------- If Application.UserName = "Joe" Then Me.Close False End If End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Martin Whitehead" wrote in message ... I have a shared workbook which is used by several people. I would like to prevent one particular username (the one set it Excel properties) from accessing the workbook. Any help with this would be appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Repost:Automatically inserting a row in external workbook | Excel Discussion (Misc queries) | |||
keeping a toolbar attached to a workbook | Excel Discussion (Misc queries) | |||
Find a value in a workbook and return the worksheet name | Excel Discussion (Misc queries) | |||
How to hyperlink from a workbook to sheets in another workbook? | Excel Worksheet Functions | |||
Need Help to Prevent Copy Function Use in a Read-Only Workbook | Excel Worksheet Functions |