LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 224
Default Protect Number Format Only

I want to protect number format only, while allowing the user to
change the contents of the cells. Or, it would also work if I could
protect all formatting while allowing cell contents to be edited.

We have a workbook used by around (I'm told) 25,000 people, with many
more to come, which is formatted as text. Users paste numbers into it,
and it must preserve leading zeros, and must not convert to
exponential notation.

But users often paste from other formatted sources such as email,
which converts the cell to General number format, losing leading zeros
and converting to exponential notation.

Worksheet protection doesn't seem to allow editing locked cell
contents even with all the restrictions turned off, and of course
worksheet protection doesn't apply at all to unlocked cells.

I looked at Allow Users to Edit Ranges, but it turns off protection
for the affected cells; it doesn't allow me to protect number
formatting (or all formatting) while allowing the user to edit the
cell contents.

I thought about using the Worksheet Change event to trap all pastes
and enter them as text, but by the time that Event is triggered, the
damage is already done and I don't know if there were leading zeros or
how many.

Any suggestions on how I can protect number formatting, or formatting
in general, while allowing the cell contents to be edited?


Thanks,

Greg
 
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
Can I protect cell numbering format ($) but allow editing? Deb22 Excel Discussion (Misc queries) 6 September 22nd 09 07:37 AM
In excel how do I protect the format of a cell but let the user c. John Louis Excel Discussion (Misc queries) 11 October 1st 07 12:03 AM
How can I protect only format of the cell ? bookton Excel Discussion (Misc queries) 1 June 16th 06 06:03 AM
Protect Format OF Worksheet Sherree Excel Worksheet Functions 2 June 20th 05 01:07 PM
protect format - page setup kva Excel Discussion (Misc queries) 1 February 17th 05 03:06 AM


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