Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Viewing Protected Cells en mass

Is there an easy way to view/highlight all protected cells on a sheet at once ?

I have 12 sheets and I want to check all the right cells are protected in
each.

thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 141
Default Viewing Protected Cells en mass

Hi,

I don't know of any built in way to do this, but the following macro
should do it:

Sub test()
Dim ActiveRng As Range

For Each cell In ActiveSheet.UsedRange
If Not cell.Locked Then
If ActiveRng Is Nothing Then
Set ActiveRng = cell
Else
Set ActiveRng = Union(ActiveRng, cell)
End If
End If
Next
If Not ActiveRng Is Nothing Then ActiveRng.Select
End Sub


Cheers,
Ivan.


On Mar 27, 12:55*am, Mart wrote:
Is there an easy way to view/highlight all protected cells on a sheet at once ?

I have 12 sheets and I want to check all the right cells are protected in
each.

thanks


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
Inserting Mass amount of pics corosponding with cells in excel mikewebster20 Excel Discussion (Misc queries) 4 November 2nd 07 06:42 AM
Viewing Comments on a Protected Spreadsheet Pendelfin Excel Discussion (Misc queries) 2 August 6th 07 09:06 AM
How to mass populate cells? dj479794 Excel Discussion (Misc queries) 0 January 23rd 07 01:57 PM
Viewing protected cells AC_VID Excel Discussion (Misc queries) 1 April 10th 05 01:21 AM
Viewing Custom Views in a protected worksheet Arkitech Excel Discussion (Misc queries) 1 February 7th 05 11:20 PM


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