LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default 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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show no toolbars in specific book michaelberrier Excel Discussion (Misc queries) 8 June 19th 06 10:34 PM
Book suddenly opens with no visible sheets Max Excel Programming 6 January 27th 06 04:12 AM
macro to copy specific rows to a new book Karen W Excel Programming 1 February 24th 05 06:46 PM
Macro to automaticaly save a book under an specific name Marissa[_2_] Excel Programming 1 August 5th 04 02:08 AM


All times are GMT +1. The time now is 12:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"