Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / January 2005

Tip: Looking for answers? Try searching our database.

Hiding Worksheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jo Davis - 11 Jan 2005 12:59 GMT
Can you hide some worksheets within a workbook from some users.
- 11 Jan 2005 16:48 GMT
yes
but only if they open the file from the machine they are
logon to.
in the workbook open event:

Sub macHideSheets()
If CreateObject("Wscript.Network").UserName = "name" Then
   Worksheets("Sheet1").Visible = xlVeryHidden
End If
End Sub
you may need to add a few ORs, 1 for each user you want to
hide sheets from and a line for each sheet you wish to
hide.
note: using the xlveryhidden command will not let you
unhide the sheet through the menus so in the workbook
before close event:
Sub macUnHideSheets()
   Worksheets("Sheet1").Visible = true
End Sub

>-----Original Message-----
>Can you hide some worksheets within a workbook from some users.
>.
peter - 12 Jan 2005 00:32 GMT
Hi,
Not without a macro.  Otherwise format|sheet|hide.
peter
pandemar@hotmail....com
>-----Original Message-----
>Can you hide some worksheets within a workbook from some users.
>.
Jack in the UK - 13 Jan 2005 23:15 GMT
Please have a look at a post i made earlier

http://www.mcse.ms/message1343219.html

Jack

--
Jack in the UK
Jack in the UK - 13 Jan 2005 23:02 GMT
Sure select the tab of the worksheet you wish to hide, click Format
Sheet and clik on hide.

This is the most basic and simplist way to hide a sheet, reverse thi
to unhide to show the once hidden sheet

VBA is better thou:

Jac

-
Jack in the U
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.