LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Prevent Editing of Worksheets w/in SpreadsheetML

I need to be able to lock worksheets against being edited (well, and allow
sections to be editable). This would be a trivial task, but I need to be
able to do it by manipulating the XML representation of an Excel document
(working against Excel 2003, for the record).

I can't simply use Excel to do this, save it to XML, and then see what's
changed, because Excel strips out protection information when you do that.

I've spent a great deal of time looking at the schemas, fiddling with a
SpreadsheetML file and seeing what elements and attributes pop up when... but
no luck.

I've figured out how to Protect the Workbook and how to Protect a Worksheet,
and I can find attributes that allow/disallow pretty much anything you'd like
to be able to restrict on cells... except for content editing.

I simply cannot find where I:

1) Tell Excel to prevent the editing of cells.

2) Tell Excel to allow the editing of specific cells while the rest of the
sheet is locked.

Does anyone know how to do this? I'm at loss.

Thanks!

Richard
 
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
Removing protections that prevent me from editing formulas. Tom Excel Worksheet Functions 2 December 23rd 09 04:18 PM
How to prevent editing within a specific cells? Eric Excel Discussion (Misc queries) 1 October 24th 08 05:17 AM
How do I prevent editing in a cell based on the value in another? LEA Excel Worksheet Functions 0 November 8th 06 05:21 PM
Prevent Locked for Editing on a network bat_man2282 Excel Programming 4 December 20th 03 02:25 PM
Permit DoubleClick but prevent other editing David Powell Excel Programming 1 July 19th 03 08:50 PM


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