Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Allow cell formatting only


I have a sheet containing a school year calendar on it. I want to
protect it so that they can't change the cell contents, but they can
change the cell formatting. Is there a way to do that? Or am I
looking at having to write an onChange routine that checks every time
if a value has changed and change it back?


--
AMK4
------------------------------------------------------------------------
AMK4's Profile: http://www.excelforum.com/member.php...o&userid=19143
View this thread: http://www.excelforum.com/showthread...hreadid=508359

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Allow cell formatting only

Hello,

If You Use tools - Protection - Protect sheet and check only Select
Locked cells, Select unlocked cells and Format cells then the user can
only format cells. If you unlock certail cells and check select
unlocked cells only and format cells the the user can only select those
unlocked cells only even for formatting.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
GS GS is offline
external usenet poster
 
Posts: 364
Default Allow cell formatting only

Hi AMK4,

Allowing users to select locked cells does not permit changes to the
contents or formatting on protected sheets. Allowing cell formatting does not
permit changes to the cell contents on protected sheets that allow selecting
locked cells. The key words here are "select" and "format". Neither one edits
the contents.

Also, the formatting option is only available via TOOLSPROTECTION in v10
and later. If you need this in xl2000 (for example), you'll have to provide
it through VBA, with the "Userinterfaceonly:=" protection option set to
"TRUE" to allow your code to make changes to locked cells on protected sheets.

Regards, GS
"AMK4" wrote:


Well, therein lies the problem. The client wants every cell locked and
un-selectable, except for those where you actually type in data. The
calendar is no exception, except that they'd like people to be able to
change the formatting of each day-cell, background color, pattern, and
borders.

Allowing locked cells to be selected means they can select -any- cell
on the sheet and change and that's not acceptable. They just want the
date-cells to be able to be selected, and formatting changed, but the
contents of the cell needs to stay as is.

I think I'm back to having to lock everything, unlock the date cells
and then write a sub to run OnChange every time. Ugh, what a pain.


--
AMK4
------------------------------------------------------------------------
AMK4's Profile: http://www.excelforum.com/member.php...o&userid=19143
View this thread: http://www.excelforum.com/showthread...hreadid=508359


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
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
expanding custom formatting without removing existing cell formatting? Keith Excel Worksheet Functions 3 December 27th 06 01:54 PM


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