Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default View Locked Cells

A small macro should do it. Something like:

Sub SelectLockedCells()
Dim c As Range, rng As Range
For Each c In ActiveSheet.UsedRange.Cells
If c.Locked Then
If rng Is Nothing Then
Set rng = c
Else
Set rng = Union(c, rng)
End If
End If
Next
rng.Select
End Sub



"Darin Kramer" wrote in message
...
Howdie,

Is there a way to select all locked cells within a sheet?
Alternatively, could I produce a new sheet with all the references of
the locked cells...? (eg b1,c3,c9... etc would be all the locked
cells...)

Thanks

D :)



*** Sent via Developersdex http://www.developersdex.com ***



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
Locked worksheet & hyperlinks (w/ select locked cells unchecked) dgold82 Excel Discussion (Misc queries) 1 July 10th 09 09:42 PM
View Locked Cells? Nick Jenkins Excel Worksheet Functions 3 September 3rd 08 10:37 PM
View which cells are locked? sammy Excel Discussion (Misc queries) 1 August 29th 08 07:26 PM
Locked view Pasty Excel Discussion (Misc queries) 5 January 5th 07 02:30 PM
Open Locked Columns to view code? kharpe Excel Programming 1 October 27th 04 03:18 AM


All times are GMT +1. The time now is 10:57 AM.

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"