#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default Hide Sheet

activesheet.visible=xlveryhidden

to unhide

worksheets("Sheet1").visible=true

--

HTH

Bob Phillips

"AA2e72e" wrote in message
...
How can a sheet be hidden such that it cannot be unhidden
via Format | Sheet | Unhide?



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 634
Default Hide Sheet

And don't forget to protect the VBA project, as otherwise they will be able to go into the VBE,
see that a hidden sheet exists and write their own piece of code to show it if they know how.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL2K & XLXP

----------------------------------------------------------------------------
Attitude - A little thing that makes a BIG difference
----------------------------------------------------------------------------



"Bob Phillips" wrote in message
...
activesheet.visible=xlveryhidden

to unhide

worksheets("Sheet1").visible=true

--

HTH

Bob Phillips

"AA2e72e" wrote in message
...
How can a sheet be hidden such that it cannot be unhidden
via Format | Sheet | Unhide?





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Hide Sheet

for a worksheet, they can just click on the sheet in the project explorer,
select properties and change visible from xlSheetVeryHidden to
xlSheetVisible.

Regards,
Tom Ogilvy

"Ken Wright" wrote in message
...
And don't forget to protect the VBA project, as otherwise they will be

able to go into the VBE,
see that a hidden sheet exists and write their own piece of code to show

it if they know how.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL2K & XLXP

--------------------------------------------------------------------------

--
Attitude - A little thing that makes a BIG difference
--------------------------------------------------------------------------

--



"Bob Phillips" wrote in message
...
activesheet.visible=xlveryhidden

to unhide

worksheets("Sheet1").visible=true

--

HTH

Bob Phillips

"AA2e72e" wrote in message
...
How can a sheet be hidden such that it cannot be unhidden
via Format | Sheet | Unhide?







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
Create Sheet, Hide Sheet Dave Excel Discussion (Misc queries) 2 October 30th 07 03:40 PM
hide sheet name/ Tab Anand vijay New Users to Excel 7 January 7th 07 12:30 AM
How do I hide a sheet, that others will not be able to see it? Petya Excel Worksheet Functions 6 January 5th 07 08:46 AM
hide sheet hitesh via OfficeKB.com Excel Discussion (Misc queries) 3 October 20th 06 02:51 PM
Hide a sheet gavin Excel Discussion (Misc queries) 1 September 14th 05 06:40 PM


All times are GMT +1. The time now is 06:39 PM.

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

About Us

"It's about Microsoft Excel"