#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Locking spreadsheets

I want to password protect my entire spreadsheet allowing others to edit ony
certain cells, can I do this or do I need to protect/unprotect each sheet of
the spreadsheet as I go along?


Angi
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Locking spreadsheets

Hi,

Select the cells you want to allow editing and then
Format|Cells|Protection Tab
Un-Check 'Locked'
Protect the sheet.

Mike

"Hentzer" wrote:

I want to password protect my entire spreadsheet allowing others to edit ony
certain cells, can I do this or do I need to protect/unprotect each sheet of
the spreadsheet as I go along?


Angi

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Locking spreadsheets

You can do it with a macro.

Sub ProtectAllSheets()
Application.ScreenUpdating = False
Dim N As Single
For N = 1 To Sheets.Count
With Sheets(N)
.Cells.Locked = True 'set locked on all cells to start
.Range("A1:A10").Locked = False 'set unlocked on a range
.Protect Password:="justme"
.EnableSelection = xlUnlockedCells
End With
Next N
Application.ScreenUpdating = True
End Sub

If your ranges differ on each sheet, you will have to work on each sheet
individually.


Gord Dibben MS Excel MVP

On Thu, 30 Oct 2008 04:09:01 -0700, Hentzer
wrote:

I want to password protect my entire spreadsheet allowing others to edit ony
certain cells, can I do this or do I need to protect/unprotect each sheet of
the spreadsheet as I go along?


Angi


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
row locking, instead of file locking? Bob W Excel Discussion (Misc queries) 2 September 7th 07 09:36 PM
locking formula in cells in without locking whole sheet SuziQ Excel Discussion (Misc queries) 1 July 21st 06 03:58 PM
QUESTION REGARDING LOCKING SPREADSHEETS AND PREFORMATTED CELLS TLAngelo Excel Discussion (Misc queries) 5 June 15th 06 03:04 AM
Locking down propriety spreadsheets CFD Excel Discussion (Misc queries) 4 February 27th 06 02:36 AM
locking formula for shared excel spreadsheets MFY Excel Discussion (Misc queries) 2 June 11th 05 12:25 AM


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