Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Protecting specific cells

Mike

By default all cells are locked when the sheet is protected.

Hit CRTL + A(twice if xl2003) then FormatCellsProtection. Uncheck "locked"
and OK.

Select the cells you wish to lock and FormatCellsProtection. Check "locked"
and OK

Now ToolsProtectionProtect Sheet. This is mandatory.

You can set a password to unprotect the sheet. These can easily be broken in
Excel but will keep your formulas from being accidentally overwritten.

NOTE the options available in xl2002 and 2003 when you hit Protect Sheet


Gord Dibben Excel MVP

On Wed, 07 Feb 2007 21:02:31 -0500, M wrote:


Using an excel program at work that works perfectly. However it has
been recently discovered there are certain end users who have been
modifying certain formulas and variables (company commissions
schedule, etc.) that have been stored in certain cells. These cells
are located in A47:DA96. I have set the Row Height (47 to 96) to
zero, however it is still accessible by others. How can I protect
these cells either by setting some password so no one can change the
info in these cells or hide them from view completely?

Thank you in advance.

Mike


  #2   Report Post  
Posted to microsoft.public.excel.programming
M M is offline
external usenet poster
 
Posts: 2
Default Protecting specific cells


Using an excel program at work that works perfectly. However it has
been recently discovered there are certain end users who have been
modifying certain formulas and variables (company commissions
schedule, etc.) that have been stored in certain cells. These cells
are located in A47:DA96. I have set the Row Height (47 to 96) to
zero, however it is still accessible by others. How can I protect
these cells either by setting some password so no one can change the
info in these cells or hide them from view completely?

Thank you in advance.

Mike
  #3   Report Post  
Posted to microsoft.public.excel.programming
M M is offline
external usenet poster
 
Posts: 2
Default Protecting specific cells

On Wed, 07 Feb 2007 15:52:37 -0800, Gord Dibben <gorddibbATshawDOTca
wrote:

I tried the instruction below however it protects the whole worksheet.
The end user in my program needs to enter certain variables, eg.
quantities and symbols in cells B4:B10.

How can I protect the whole worksheet except for these cells.

Thank you

Mike


Mike

By default all cells are locked when the sheet is protected.

Hit CRTL + A(twice if xl2003) then FormatCellsProtection. Uncheck "locked"
and OK.

Select the cells you wish to lock and FormatCellsProtection. Check "locked"
and OK

Now ToolsProtectionProtect Sheet. This is mandatory.

You can set a password to unprotect the sheet. These can easily be broken in
Excel but will keep your formulas from being accidentally overwritten.

NOTE the options available in xl2002 and 2003 when you hit Protect Sheet


Gord Dibben Excel MVP

On Wed, 07 Feb 2007 21:02:31 -0500, M wrote:


Using an excel program at work that works perfectly. However it has
been recently discovered there are certain end users who have been
modifying certain formulas and variables (company commissions
schedule, etc.) that have been stored in certain cells. These cells
are located in A47:DA96. I have set the Row Height (47 to 96) to
zero, however it is still accessible by others. How can I protect
these cells either by setting some password so no one can change the
info in these cells or hide them from view completely?

Thank you in advance.

Mike

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Protecting specific cells

On 2ÔÂ8ÈÕ, ÉÏÎç11ʱ18·Ö, M wrote:
On Wed, 07 Feb 2007 15:52:37 -0800, Gord Dibben <gorddibbATshawDOTca
wrote:

I tried the instruction below however it protects the whole worksheet.
The end user in my program needs to enter certain variables, eg.
quantities and symbols in cells B4:B10.

How can I protect the whole worksheet except for these cells.

Thank you

Mike

Mike


By default all cells are locked when the sheet is protected.


Hit CRTL + A(twice if xl2003) then FormatCellsProtection. Uncheck "locked"
and OK.


Select the cells you wish to lock and FormatCellsProtection. Check "locked"
and OK


Now ToolsProtectionProtect Sheet. This is mandatory.


You can set a password to unprotect the sheet. These can easily be broken in
Excel but will keep your formulas from being accidentally overwritten.


NOTE the options available in xl2002 and 2003 when you hit Protect Sheet


Gord Dibben Excel MVP


On Wed, 07 Feb 2007 21:02:31 -0500, M wrote:


Using an excel program at work that works perfectly. However it has
been recently discovered there are certain end users who have been
modifying certain formulas and variables (company commissions
schedule, etc.) that have been stored in certain cells. These cells
are located in A47:DA96. I have set the Row Height (47 to 96) to
zero, however it is still accessible by others. How can I protect
these cells either by setting some password so no one can change the
info in these cells or hide them from view completely?


Thank you in advance.


Mike


@ Mike.
Gord Dibben have told you in detail how to protect the cells you want
and unprotect the other cells.
the solution is the cell's locked property. when the worksheet is
protected, you 're not allowed to edit the locked cells,but allowed
to edit the unlocked cells. so Gord suggest as follows:
'---------------------------------------------------------------------------------
By default all cells are locked when the sheet is protected.

Hit CRTL + A(twice if xl2003) then FormatCellsProtection. Uncheck
"locked"
and OK.

Select the cells you wish to lock and FormatCellsProtection. Check
"locked"
and OK

Now ToolsProtectionProtect Sheet. (note that, this need not
password ,and you could unproect it without password.)
'---------------------------------------------------------------------------------
So if you want to protect the whole worksheet except some cells such
as range(" B4:B10") ,you could change cells in range(" B4:B10") to
be unlocked. the others in the sheet stay locked, and at last please
protect the sheet.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Protecting specific cells

On 2ÔÂ8ÈÕ, ÏÂÎç4ʱ01·Ö, wrote:
On 2ÔÂ8ÈÕ, ÉÏÎç11ʱ18·Ö, M wrote:



On Wed, 07 Feb 2007 15:52:37 -0800, Gord Dibben <gorddibbATshawDOTca
wrote:


I tried the instruction below however it protects the whole worksheet.
The end user in my program needs to enter certain variables, eg.
quantities and symbols in cells B4:B10.


How can I protect the whole worksheet except for these cells.


Thank you


Mike


Mike


By default all cells are locked when the sheet is protected.


Hit CRTL + A(twice if xl2003) then FormatCellsProtection. Uncheck "locked"
and OK.


Select the cells you wish to lock and FormatCellsProtection. Check "locked"
and OK


Now ToolsProtectionProtect Sheet. This is mandatory.


You can set a password to unprotect the sheet. These can easily be broken in
Excel but will keep your formulas from being accidentally overwritten.


NOTE the options available in xl2002 and 2003 when you hit Protect Sheet


Gord Dibben Excel MVP


On Wed, 07 Feb 2007 21:02:31 -0500, M wrote:


Using an excel program at work that works perfectly. However it has
been recently discovered there are certain end users who have been
modifying certain formulas and variables (company commissions
schedule, etc.) that have been stored in certain cells. These cells
are located in A47:DA96. I have set the Row Height (47 to 96) to
zero, however it is still accessible by others. How can I protect
these cells either by setting some password so no one can change the
info in these cells or hide them from view completely?


Thank you in advance.


Mike


@ Mike.
Gord Dibben have told you in detail how to protect the cells you want
and unprotect the other cells.
the solution is the cell's locked property. when the worksheet is
protected, you 're not allowed to edit the locked cells,but allowed
to edit the unlocked cells. so Gord suggest as follows:
'---------------------------------------------------------------------------------
By default all cells are locked when the sheet is protected.

Hit CRTL + A(twice if xl2003) then FormatCellsProtection. Uncheck
"locked"
and OK.

Select the cells you wish to lock and FormatCellsProtection. Check
"locked"
and OK

Now ToolsProtectionProtect Sheet. (note that, this need not
password ,and you could unproect it without password.)
'---------------------------------------------------------------------------------
So if you want to protect the whole worksheet except some cells such
as range(" B4:B10") ,you could change cells in range(" B4:B10") to
be unlocked. the others in the sheet stay locked, and at last please
protect the sheet.


And I want to ask a question about protection. my question is as
follows:
there are two categories of cells in some worksheet: locked cells and
unlocked cells.
when the worksheet above is protected, the user could not only change
value of the unlocked cells,but could also change their format. and he
could do nothing to the locked cells, except choosing them.
The above description is what I want to reach, but to my depress, when
the worksheet is protected. I couldn't format the unlocked cells.if
the format cells checkbox is not selected in "Protect Sheet" dialog
box. and in opposition to it, if the format cells checkbox is selected
in "Protect Sheet" dialog box,the locked cells could also be formated.

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
Protecting a Range of Specific Cell/s Blacksmith[_2_] Excel Discussion (Misc queries) 1 August 27th 07 04:43 PM
Protecting a Range of Specific Cell/s Blacksmith[_2_] New Users to Excel 1 August 27th 07 04:43 PM
protecting specific parts of my worksheet. Yaka New Users to Excel 2 June 20th 07 01:28 AM
Protecting Specific Cells In Excel excel_slave - ExcelForums.com Excel Programming 3 August 12th 05 06:23 PM
Protecting specific cells in a worksheet. GaryS Excel Worksheet Functions 2 January 6th 05 04:47 PM


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