#1   Report Post  
Old June 13th 09, 12:19 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2008
Posts: 266
Default Disable Unhide

I have a worksheet where I want to keep a tab hidden for all users but 1. I
hide the tab and provide a macro with a keyboard shortcut. I also restrict
the use of that macro to only that user's workstation - if anyone else runs
it, nothing will happen. But still, other users might discover the hidden
tab and unhide it. Is there any way to disable the "Unhide" option for tabs
on specific systems - or even within the workbook? Thanks for any help on
this.

  #2   Report Post  
Old June 13th 09, 02:37 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 22,909
Default Disable Unhide

In your macro make the the sheet xlveryhidden

Sheets("thesheet").Visible = xlVeryHidden

Won't show up in FormatSheetUnhide

Then lock the VBAproject from viewing with a password so's users cannot
change the code.


Gord Dibben MS Excel MVP


On Sat, 13 Jun 2009 04:19:01 -0700, dhstein
wrote:

I have a worksheet where I want to keep a tab hidden for all users but 1. I
hide the tab and provide a macro with a keyboard shortcut. I also restrict
the use of that macro to only that user's workstation - if anyone else runs
it, nothing will happen. But still, other users might discover the hidden
tab and unhide it. Is there any way to disable the "Unhide" option for tabs
on specific systems - or even within the workbook? Thanks for any help on
this.


  #3   Report Post  
Old June 13th 09, 08:08 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2008
Posts: 266
Default Disable Unhide

Gord - that's excellent . How do I lock the VBA project with a password ?
Thanks.



"Gord Dibben" wrote:

In your macro make the the sheet xlveryhidden

Sheets("thesheet").Visible = xlVeryHidden

Won't show up in FormatSheetUnhide

Then lock the VBAproject from viewing with a password so's users cannot
change the code.


Gord Dibben MS Excel MVP


On Sat, 13 Jun 2009 04:19:01 -0700, dhstein
wrote:

I have a worksheet where I want to keep a tab hidden for all users but 1. I
hide the tab and provide a macro with a keyboard shortcut. I also restrict
the use of that macro to only that user's workstation - if anyone else runs
it, nothing will happen. But still, other users might discover the hidden
tab and unhide it. Is there any way to disable the "Unhide" option for tabs
on specific systems - or even within the workbook? Thanks for any help on
this.



  #4   Report Post  
Old June 14th 09, 12:16 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 35,218
Default Disable Unhide

Open the VBE (alt-f11)
Tools|VBAProject Properties|Protection tab|Protection tab

Save and close your workbook.

Reopen the workbook to test.

dhstein wrote:

Gord - that's excellent . How do I lock the VBA project with a password ?
Thanks.

"Gord Dibben" wrote:

In your macro make the the sheet xlveryhidden

Sheets("thesheet").Visible = xlVeryHidden

Won't show up in FormatSheetUnhide

Then lock the VBAproject from viewing with a password so's users cannot
change the code.


Gord Dibben MS Excel MVP


On Sat, 13 Jun 2009 04:19:01 -0700, dhstein
wrote:

I have a worksheet where I want to keep a tab hidden for all users but 1. I
hide the tab and provide a macro with a keyboard shortcut. I also restrict
the use of that macro to only that user's workstation - if anyone else runs
it, nothing will happen. But still, other users might discover the hidden
tab and unhide it. Is there any way to disable the "Unhide" option for tabs
on specific systems - or even within the workbook? Thanks for any help on
this.




--

Dave Peterson


Reply
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
unhide row does not unhide the hidden rows nikita Excel Worksheet Functions 4 May 24th 08 02:59 PM
How to Disable Unhide Sheet menu option contactf Excel Worksheet Functions 8 September 25th 07 07:42 PM
how do i unhide a worksheet in excel 2003? unhide tab don't work mikekeat Excel Discussion (Misc queries) 2 March 6th 06 04:36 AM
How do I unhide a column when format/column/unhide won't work lincolnblaze Excel Worksheet Functions 1 December 14th 05 04:38 AM
disable unhide sheets on toolbar ditchy Excel Discussion (Misc queries) 8 May 4th 05 10:10 AM


All times are GMT +1. The time now is 06:48 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017