#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default protecting sheets

i have multiple sheets in my workbook. i need to allow certain cells to be
allowed to edit and protect the rest. i need to do the same cells in all the
sheets. is there any quicker way to do this besides going through each
worksheet and clicking on the cells allowed to edit then protecting it... i
need to know if there is some what to do like one and apply to the rest...
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default protecting sheets

Sure thing. Select the first sheet, and then, holding SHIFT, click that last
sheet tab. You now have all the sheets selected. (alternatively, you can use
CTRL to individually select worksheets) Now, select the cells in the current
visible worksheet, format, uncheck the locked option.

Unfortunately, this still requires you to go to each sheet and activate the
protection, unless you want to setup a macro to do it for you. You could then
assign a keyboard shortcut(Alt+F8, options) to the macro to make the whole
process slightly faster.
Basic protection macro:

Sub ProtectMe()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"christina" wrote:

i have multiple sheets in my workbook. i need to allow certain cells to be
allowed to edit and protect the rest. i need to do the same cells in all the
sheets. is there any quicker way to do this besides going through each
worksheet and clicking on the cells allowed to edit then protecting it... i
need to know if there is some what to do like one and apply to the rest...

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

All sheets protection macro with password.

Sub ProtectAllSheets()
Application.ScreenUpdating = False
Dim N As Single
For N = 1 To Sheets.Count
Sheets(N).Protect Password:="justme"
Next N
Application.ScreenUpdating = True
End Sub


Gord Dibben MS Excel MVP

On Fri, 29 May 2009 11:31:01 -0700, Luke M
wrote:

Sure thing. Select the first sheet, and then, holding SHIFT, click that last
sheet tab. You now have all the sheets selected. (alternatively, you can use
CTRL to individually select worksheets) Now, select the cells in the current
visible worksheet, format, uncheck the locked option.

Unfortunately, this still requires you to go to each sheet and activate the
protection, unless you want to setup a macro to do it for you. You could then
assign a keyboard shortcut(Alt+F8, options) to the macro to make the whole
process slightly faster.
Basic protection macro:

Sub ProtectMe()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub


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
Help w/ protecting all sheets cnote Excel Discussion (Misc queries) 6 June 27th 06 01:38 PM
Protecting Sheets Joyce Excel Worksheet Functions 3 March 20th 06 08:18 PM
Protecting Sheets albertmb Excel Discussion (Misc queries) 7 March 13th 06 09:13 PM
Protecting multiple sheets mik00725 Excel Discussion (Misc queries) 1 February 17th 05 02:36 AM
Protecting sheets TV Excel Discussion (Misc queries) 1 November 29th 04 09:27 PM


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