Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Gord Dibben
 
Posts: n/a
Default

Andre

You can use a macro to color the locked cells, then reverse to remove the
color.

Sub Locked_Cells()
Dim Cell As Range, tempR As Range, rangeToCheck As Range
For Each Cell In Intersect(Selection, ActiveSheet.UsedRange)
If Cell.Locked Then
If tempR Is Nothing Then
Set tempR = Cell
Else
Set tempR = Union(tempR, Cell)
End If
End If
Next Cell
If tempR Is Nothing Then
MsgBox "There are no Locked cells " & _
"in the selected range."
End
End If
tempR.Interior.ColorIndex = 3
' tempR.Interior.ColorIndex = xlNone
End Sub


Gord Dibben Excel MVP

On Sat, 9 Apr 2005 12:59:28 -0400, "AC_VID" wrote:

Is there a way to view LOCKED CELLS on a worksheet after the worksheet is
protected?
Could there be a macro created so that I can use for example ALT+L to view
these cells temporarely and then press ESC to go back to normal bview? This
could be in a temporary formatting of these cells in a different background
color.
This would be a very handy way to quickly make sure that the required cells
are locked when creating a worksheet with locked cells. There is another
way, which is using TAB to jump from one locked cell to another but it is
time consuming.
That function does not exist in Excel : TOOLS/Options/Window options.

Thank you
André





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
password protected certain cells in spreadsheet vv Excel Discussion (Misc queries) 2 February 9th 05 10:46 PM
Auto Skipping and protected cells Dave Peterson Excel Discussion (Misc queries) 6 January 27th 05 11:35 PM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 12:59 PM
How do you delete one cell from a range of protected cells Cgbilliar Excel Worksheet Functions 2 November 3rd 04 10:42 PM


All times are GMT +1. The time now is 01:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"