Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default protect workbook and allow hide/show worksheet

Dear All,
pls help. really no way to allow like Sheets(2).Visible = False or true
when have ActiveWorkbook.Protect structu=True, Windows:=False
together?
by the way, what is this syntax for? :=
when we can use?

thank you so much.




unable to have workbook protect
From: Harald Staff
Date Posted: 10/18/2004 2:06:00 AM



"tango" skrev i melding
om...
dear all, with protect statement but i got the error message
"unable to set the visible property of worksheet class"


You can't hide/show sheets in a protected workbook, so the code must
unprotect -show/hide -reprotect.

another issue is why i cannot make a reply to the forum? the site
saying that my password is invalid but why i can create new message?


This is not s forum, ithis is a usenet newsgroup that you may be accessing
from some website frontend. Connect directly with Outlook Express or a
similar newsreader. See http://www.mvps.org/dmcritchie/ie/oe6nws01.htm

HTH. Best wishes Harald
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default protect workbook and allow hide/show worksheet

Sometimes it's easier to just record a macro when you do it manually.



tango wrote:

Dear All,
pls help. really no way to allow like Sheets(2).Visible = False or true
when have ActiveWorkbook.Protect structu=True, Windows:=False
together?
by the way, what is this syntax for? :=
when we can use?

thank you so much.

unable to have workbook protect
From: Harald Staff
Date Posted: 10/18/2004 2:06:00 AM

"tango" skrev i melding
om...
dear all, with protect statement but i got the error message
"unable to set the visible property of worksheet class"


You can't hide/show sheets in a protected workbook, so the code must
unprotect -show/hide -reprotect.

another issue is why i cannot make a reply to the forum? the site
saying that my password is invalid but why i can create new message?


This is not s forum, ithis is a usenet newsgroup that you may be accessing
from some website frontend. Connect directly with Outlook Express or a
similar newsreader. See http://www.mvps.org/dmcritchie/ie/oe6nws01.htm

HTH. Best wishes Harald


--

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
hide, unhide column or row after protect worksheet tiny[_2_] Excel Discussion (Misc queries) 2 May 14th 09 04:23 PM
Protect or Hide all worksheets in a workbook except 1 Gator Girl Excel Worksheet Functions 2 February 4th 09 02:14 AM
Hide and password protect a worksheet Oldjay Excel Discussion (Misc queries) 2 April 30th 08 04:59 PM
hide a column in a worksheet and password protect eoreality Excel Discussion (Misc queries) 1 February 8th 06 02:42 AM
Protect hide worksheet Lawrence Excel Worksheet Functions 4 December 20th 05 12:48 PM


All times are GMT +1. The time now is 09:30 AM.

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"