#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Locking Sheet Tabs

Is there a way to lock more than one sheet tab?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Locking Sheet Tabs

Hi,

I'm not sure I understand your terminology -"Lock sheet tab", what do you
mean?

Mike

"PFLY" wrote:

Is there a way to lock more than one sheet tab?

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

What do you mean by this?

Placing sheet protection on more than one worksheet?

One at a time or with VBA you can do all or those in a selected group of sheets.

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


Sub Protect_Selected_Sheets()
Set MySheets = ActiveWindow.SelectedSheets
For Each ws In MySheets
ws.Select
ws.Protect Password:="justme"
'ws.UnProtect Password:="justme"
Next ws
End Sub


Gord Dibben MS Excel MVP

On Thu, 2 Aug 2007 12:28:03 -0700, PFLY wrote:

Is there a way to lock more than one sheet tab?


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
Locking A sheet Nigel Excel Discussion (Misc queries) 0 January 10th 07 06:37 PM
Locking Data Sheet AJ Excel Discussion (Misc queries) 2 August 28th 06 09:11 PM
locking formula in cells in without locking whole sheet SuziQ Excel Discussion (Misc queries) 1 July 21st 06 03:58 PM
Locking a sheet?? mcr1 Excel Discussion (Misc queries) 1 January 9th 06 05:31 PM
locking tabs w/macros erik Excel Discussion (Misc queries) 2 July 6th 05 05:21 PM


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