Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
w/book visible to a specific person
Private Sub UserForm_Activate()
Dim ws As Worksheet Dim myWindow As Window For Each myWindow In ThisWorkbook.Windows myWindow.Visible = False Next myWindow End Sub I used the above code inorder to prevent users to see w/book's database.They can see only userform. How to make the w/book visible to authorised person ? say to a system administrator? what changes need to add to the above code to do the task? -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200904/1 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
w/book visible to a specific person
I think I would keep the windows visible, but I would hide the worksheet. Then
show the authorized people how to hide/unhide that sheet. "tkraju via OfficeKB.com" wrote: Private Sub UserForm_Activate() Dim ws As Worksheet Dim myWindow As Window For Each myWindow In ThisWorkbook.Windows myWindow.Visible = False Next myWindow End Sub I used the above code inorder to prevent users to see w/book's database.They can see only userform. How to make the w/book visible to authorised person ? say to a system administrator? what changes need to add to the above code to do the task? -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200904/1 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Show no toolbars in specific book | Excel Discussion (Misc queries) | |||
Book suddenly opens with no visible sheets | Excel Programming | |||
macro to copy specific rows to a new book | Excel Programming | |||
Macro to automaticaly save a book under an specific name | Excel Programming |