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

I have a checkbox linked to a protected cell so I can't change the value in
it. How do i get it to work without unlocking it? I don't want it to be
selected when sheet is protected.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,533
Default protected linked cell


"ranswert" skrev i en meddelelse
...
I have a checkbox linked to a protected cell so I can't change the value in
it. How do i get it to work without unlocking it? I don't want it to be
selected when sheet is protected.


Hi

Unprotect the sheet from the macro, pass the value, then protect the sheet
again.

sheets(1).unprotect Password:="Pass"
range("A1").value=me.checkbox1.value
sheets(1).protect Password:="Pass", DrawingObjects:=True, Contents:=True,
Scenarios:=True

//Per


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 161
Default protected linked cell

Is there another way to do this without having to protect and unprotect the
sheet each time the checkbox is checked.

"Per Jessen" wrote:


"ranswert" skrev i en meddelelse
...
I have a checkbox linked to a protected cell so I can't change the value in
it. How do i get it to work without unlocking it? I don't want it to be
selected when sheet is protected.


Hi

Unprotect the sheet from the macro, pass the value, then protect the sheet
again.

sheets(1).unprotect Password:="Pass"
range("A1").value=me.checkbox1.value
sheets(1).protect Password:="Pass", DrawingObjects:=True, Contents:=True,
Scenarios:=True

//Per



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
Linked files, one is Password to Modify protected Mike The Newb Excel Discussion (Misc queries) 0 January 7th 08 09:48 PM
Protected Sheet doesn't update linked information Trainmaster Excel Discussion (Misc queries) 3 March 16th 07 06:50 PM
Opening Protected EXCEL worksheets to update linked data doctorjones_md Setting up and Configuration of Excel 9 August 7th 06 10:51 AM
Opening Protected EXCEL worksheets to update linked data doctorjones_md New Users to Excel 9 August 7th 06 10:51 AM
Opening Protected EXCEL worksheets to update linked data doctorjones_md Links and Linking in Excel 9 August 7th 06 10:51 AM


All times are GMT +1. The time now is 07:10 PM.

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"