Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Combo Box/Worksheet Protection Conflict

A ComboBox is set up to populate a merged cell range - set up from the Linked Cell and List Fill Range properties. Works okay. However, when the worksheet is protected and the user selects from the ComboBox, an error/warning comes up: "The cell or chart you are trying to change is protected and therefore read-only...." How do I make the ComboBox populate the target cell when the worksheet is protected

Thanks
Phi

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Combo Box/Worksheet Protection Conflict

Phil,

Can't you just unprotect that cell?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Phil Hageman" wrote in
message
...
A ComboBox is set up to populate a merged cell range - set up

from the Linked Cell and List Fill Range properties. Works okay.
However, when the worksheet is protected and the user selects
from the ComboBox, an error/warning comes up: "The cell or chart
you are trying to change is protected and therefore
read-only...." How do I make the ComboBox populate the target
cell when the worksheet is protected?

Thanks,
Phil



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Combo Box/Worksheet Protection Conflict

If you have control of the password and code, protect your
VBA and do this to unprotect, process, and reprotect:

'make sure you have the correct one showing
Worksheet("Sheet1").Activate
Worksheet("Sheet1").unprotect ("pass")
//code
Worksheet("Sheet1").protect ("pass")

Be sure the cells protection set to protected. This will
need to fire each time a change will ocurr. Call the
un/protect method each time the sheet performs an action
affecting the cells.

Hope that helps,

Sn

-----Original Message-----
Chip,

Tried unprotecting both the cells under the ComboBox, and

the target cell - same result.

Phil
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Combo Box/Worksheet Protection Conflict

Phil,

I have no problems using a Forms ComboBox control on a protected
worksheet if the Linked Cell is unlocked. What specific problem
are you encountering? You can email me the sheet if you want.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Phil Hageman" wrote in
message
...
Chip,

Can you help further on this? Think I lost Steve.

Phil



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Combo Box/Worksheet Protection Conflict

Chip

You have answered my question - the linked cell was protected. Works fine now

I have taken my ComboBox issue to another level in my latest post on programmed ComboBoxes - I was creating a monster with a localized LinkedCell/ListFillRange. The way I was headed, I would have to change 396 worksheets, rather than 33, when the ComboBox parameters changed. If you have time, could you look at this thread

Thanks for you time and help
Phil
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
Name Conflict window pops up, when I try to open a saved worksheet wkmooreh Excel Discussion (Misc queries) 0 December 17th 09 02:09 PM
Worksheet protection interfering with data validation combo box pr Lele Excel Discussion (Misc queries) 1 March 4th 07 07:51 PM
Combo box drop down & worksheet protection DocEE Excel Discussion (Misc queries) 0 September 21st 06 02:30 PM
combo box protection jimmy g Excel Discussion (Misc queries) 0 August 10th 06 07:23 PM
Combo Box conflict with 'sort' on another page Sheila Excel Worksheet Functions 1 May 22nd 05 03:56 AM


All times are GMT +1. The time now is 11:01 PM.

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"