LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default delete all but protected cells

Tested in XL 97 and XL 2002

Gord

On Fri, 23 Jan 2004 10:42:14 -0800, Gord Dibben <gorddibbATshawDOTca wrote:

King

Macro works for me on a protected sheet.

Hit CRTL + A to select all cells then run it.

Clears the contents of all "unlocked" cells.

Gord Dibben Excel MVP

On Thu, 22 Jan 2004 21:24:08 -0600, Kingtriotn
wrote:

That clears the contents of all unlocked cells but only if the sheet is
not protected. This is where I keep running into walls, why wont it
clear the contents of the unlocked cells when the sheet is protected?
Thanks again,
Kingtriton


---
Message posted from http://www.ExcelForum.com/


 
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
Protected sheet - attempt to delete row = unmerged cells Kaz Excel Discussion (Misc queries) 5 October 29th 09 05:28 PM
Delete unprotected cells in protected worksheet Len Silva Excel Worksheet Functions 1 July 30th 08 02:24 PM
How do I delete only the content of cells that are NOT protected? DrDisk7 Excel Discussion (Misc queries) 1 May 17th 08 04:38 PM
How to delete the content of all unlocked cells in a protected she DrDisk7 Excel Discussion (Misc queries) 1 January 8th 08 09:58 AM
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 05:41 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"