Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Relation between hide(orunhide) and protect

Hi all,

What is the relation between hide(or unhide) and protect(or unprotect)? I
can change a worksheet'visible through immediate window without unprotecting
a protected sheet,but why the hide or unhide submenu is grayed out when the
worksheet is protected.

Clara
--
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Relation between hide(orunhide) and protect

When I protect a worksheet via Tools, Protection, Protect Sheet and go to
Format, Sheet I find that Hide is not grayed out.

Protecting the workbook structure however does have this effect, as it
should.

--
Jim
"clara" wrote in message
...
| Hi all,
|
| What is the relation between hide(or unhide) and protect(or unprotect)? I
| can change a worksheet'visible through immediate window without
unprotecting
| a protected sheet,but why the hide or unhide submenu is grayed out when
the
| worksheet is protected.
|
| Clara
| --
| thank you so much for your help


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Relation between hide(orunhide) and protect

Excel has different levels of protection.

1. You can protect the workbook from opening (via File|SaveAs|Tools)
2. You can protect the workbook so that sheets can't be renamed/moved/deleted
or added (via Tools|Protection|Protect workbook). You can also protect the
windows under this so that they can't be resized.
3. You can protect the workbook's project (where macros live)
4. You can protect each sheet, too (via tools|protection|Protect sheet)

And you can hide different things in excel, too.

1. You can hide a window (via Window|Hide)
2. You can hide a sheet (via Format|sheet|hide)
3. You can hide rows or columns (via format|Row (or Column)|Hide)

If you protect the worksheet (#4) (with no special allowances), then you can't
hide or unhide columns or rows.

If you protect the workbook's structure (#2), then you can't hide any sheet.

And even with no protection at all, there has to be at least one sheet visible.

So which level of protection did you try and which level of hiding did you try?


clara wrote:

Hi all,

What is the relation between hide(or unhide) and protect(or unprotect)? I
can change a worksheet'visible through immediate window without unprotecting
a protected sheet,but why the hide or unhide submenu is grayed out when the
worksheet is protected.

Clara
--
thank you so much for your help


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Relation between hide(orunhide) and protect

Dear Dave,

Your explanation is wonderful. My workbook has two sheets shown and one
hidden, the workbook is protected. Before I print the hidden sheet out, I set
the sheet's Visible = true, but I got "Class method failed "message, now I
know I have to unprotect the workbook first.

Thank you very much!

Clara
--
thank you so much for your help


"Dave Peterson" wrote:

Excel has different levels of protection.

1. You can protect the workbook from opening (via File|SaveAs|Tools)
2. You can protect the workbook so that sheets can't be renamed/moved/deleted
or added (via Tools|Protection|Protect workbook). You can also protect the
windows under this so that they can't be resized.
3. You can protect the workbook's project (where macros live)
4. You can protect each sheet, too (via tools|protection|Protect sheet)

And you can hide different things in excel, too.

1. You can hide a window (via Window|Hide)
2. You can hide a sheet (via Format|sheet|hide)
3. You can hide rows or columns (via format|Row (or Column)|Hide)

If you protect the worksheet (#4) (with no special allowances), then you can't
hide or unhide columns or rows.

If you protect the workbook's structure (#2), then you can't hide any sheet.

And even with no protection at all, there has to be at least one sheet visible.

So which level of protection did you try and which level of hiding did you try?


clara wrote:

Hi all,

What is the relation between hide(or unhide) and protect(or unprotect)? I
can change a worksheet'visible through immediate window without unprotecting
a protected sheet,but why the hide or unhide submenu is grayed out when the
worksheet is protected.

Clara
--
thank you so much for your help


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Relation between hide(orunhide) and protect

Hi Dave,

How can I protect a workbook's project, I tried the Tools menu in VBE, but
nothing happend. Could you tell me how to do it and can I prevent uses see
macro's code?


Clara

thank you so much for your help


"Dave Peterson" wrote:

Excel has different levels of protection.

1. You can protect the workbook from opening (via File|SaveAs|Tools)
2. You can protect the workbook so that sheets can't be renamed/moved/deleted
or added (via Tools|Protection|Protect workbook). You can also protect the
windows under this so that they can't be resized.
3. You can protect the workbook's project (where macros live)
4. You can protect each sheet, too (via tools|protection|Protect sheet)

And you can hide different things in excel, too.

1. You can hide a window (via Window|Hide)
2. You can hide a sheet (via Format|sheet|hide)
3. You can hide rows or columns (via format|Row (or Column)|Hide)

If you protect the worksheet (#4) (with no special allowances), then you can't
hide or unhide columns or rows.

If you protect the workbook's structure (#2), then you can't hide any sheet.

And even with no protection at all, there has to be at least one sheet visible.

So which level of protection did you try and which level of hiding did you try?


clara wrote:

Hi all,

What is the relation between hide(or unhide) and protect(or unprotect)? I
can change a worksheet'visible through immediate window without unprotecting
a protected sheet,but why the hide or unhide submenu is grayed out when the
worksheet is protected.

Clara
--
thank you so much for your help


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Relation between hide(orunhide) and protect

Inside the VBE.

Select your workbook's project.
Tools|VBAProject Properties|Protection tab.

This password is easily bypassed, too. But it'll stop lots of people (not
all!).

clara wrote:

Hi Dave,

How can I protect a workbook's project, I tried the Tools menu in VBE, but
nothing happend. Could you tell me how to do it and can I prevent uses see
macro's code?

Clara

thank you so much for your help

"Dave Peterson" wrote:

Excel has different levels of protection.

1. You can protect the workbook from opening (via File|SaveAs|Tools)
2. You can protect the workbook so that sheets can't be renamed/moved/deleted
or added (via Tools|Protection|Protect workbook). You can also protect the
windows under this so that they can't be resized.
3. You can protect the workbook's project (where macros live)
4. You can protect each sheet, too (via tools|protection|Protect sheet)

And you can hide different things in excel, too.

1. You can hide a window (via Window|Hide)
2. You can hide a sheet (via Format|sheet|hide)
3. You can hide rows or columns (via format|Row (or Column)|Hide)

If you protect the worksheet (#4) (with no special allowances), then you can't
hide or unhide columns or rows.

If you protect the workbook's structure (#2), then you can't hide any sheet.

And even with no protection at all, there has to be at least one sheet visible.

So which level of protection did you try and which level of hiding did you try?


clara wrote:

Hi all,

What is the relation between hide(or unhide) and protect(or unprotect)? I
can change a worksheet'visible through immediate window without unprotecting
a protected sheet,but why the hide or unhide submenu is grayed out when the
worksheet is protected.

Clara
--
thank you so much for your help


--

Dave Peterson


--

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 or Protect Headers RLD Excel Discussion (Misc queries) 2 March 15th 10 03:15 PM
How to protect & hide Sheet Panchi[_2_] New Users to Excel 3 December 27th 09 07:27 PM
Protect & Hide Sheet Panchi[_2_] Excel Discussion (Misc queries) 4 December 26th 09 09:17 PM
HIDE AND PROTECT A CELL NEIL Excel Worksheet Functions 0 March 8th 07 08:55 PM
Protect hide worksheet Lawrence Excel Worksheet Functions 4 December 20th 05 12:48 PM


All times are GMT +1. The time now is 06:03 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"