Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Viewing of protected locked or unlocked cells

Is there a way to view an entire workshees to see which cells are locked and
unlocked?
--
Jan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 515
Default Viewing of protected locked or unlocked cells

One way is to protect the sheet, and untick Select locked cells. Repeatedly
pressing <Tab will then take you to the unlocked cells only.

--
HTH

Kassie

Replace xxx with hotmail


"jmisenar" wrote:

Is there a way to view an entire workshees to see which cells are locked and
unlocked?
--
Jan

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Viewing of protected locked or unlocked cells

To color locked cells.

Sub Locked_Cells()
'Bob Flanagan source of code
Dim Cell As Range, tempR As Range, rangeToCheck As Range
'check each cell in the selection
For Each Cell In Intersect(Selection, ActiveSheet.UsedRange)
If Cell.Locked Then
If tempR Is Nothing Then
'initialize tempR with the first qualifying cell
Set tempR = Cell
Else
'add additional cells to tempR
Set tempR = Union(tempR, Cell)
End If
End If
Next Cell
'display message and stop if no cells found
If tempR Is Nothing Then
MsgBox "There are no Locked cells " & _
"in the selected range."
End
End If
'select qualifying cells
tempR.Interior.ColorIndex = 3
End Sub


Gord Dibben MS Excel MVP

On Tue, 21 Apr 2009 06:52:01 -0700, jmisenar
wrote:

Is there a way to view an entire workshees to see which cells are locked and
unlocked?


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
Display locked or Unlocked cells Jim May Excel Discussion (Misc queries) 2 August 30th 07 02:50 PM
Scope priviledges for locked/unlocked cells Jerry W. Lewis Excel Discussion (Misc queries) 2 July 30th 07 04:06 PM
paste locked cells and unlocked cells in protected sheet Angeline Excel Worksheet Functions 15 November 1st 06 11:51 PM
Locked spreadsheet, move cursor only to unlocked cells? dhilligoss Excel Worksheet Functions 1 December 5th 05 02:29 PM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM


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