Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default change validation on protected sheet

I have a shared and protected sheet
Although the cells in question are unlocked VBA will not allow the
validation to be changed.

(Works fine if the sheet is unprotected but protection is necessary)


Is there a way round this

Thanks

--
Patrick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default change validation on protected sheet

If the workbook is shared, you can't change the protection.
If the sheet is protected, you can't change the data validation on any
cell (locked or unlocked).

If you need to change the validation, you could wait till no one is
using the workbook.
If you're tracking changes, you can list all the changes on a new sheet.
Copy the data from the History sheet to a new sheet (e.g. HistoryPrev)
Then, turn off sharing for the workbook, and unprotect the sheet
Change the validation, reprotect the sheet, and turn sharing on.

Patrick wrote:
I have a shared and protected sheet
Although the cells in question are unlocked VBA will not allow the
validation to be changed.

(Works fine if the sheet is unprotected but protection is necessary)


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
List, Data Validation, unlocked cell, protected sheet..... Kane New Users to Excel 6 July 16th 12 09:11 AM
How to prevent Cut&Paste to change style and data validation on protected sheet Paulo Costa \(Live\) Excel Discussion (Misc queries) 1 March 23rd 10 12:19 PM
How to prevent Cut&Paste to change style and data validation on protected sheet Paulo Costa \(Live\) Excel Discussion (Misc queries) 2 March 23rd 10 05:17 AM
Apply Validation on a protected sheet Frederick Chow Excel Discussion (Misc queries) 0 January 3rd 06 05:56 PM
change font when sheet is protected vivisss Excel Discussion (Misc queries) 1 February 7th 05 07:54 PM


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