Lock down but allow mod of link from radio button (solved)

Samnuni

Board Regular
Joined
Sep 27, 2005
Messages
206
Hi, I made a form for users to input data, but I wanted it lock except for the inputting part. Now in this sheet, I have used radio buttons that links to one of the cells but if I lock it down then the user can't modify it. If I allow the user to modify it, they can input whatever they want too and that is what I don't want. Can someone help me out? Thanks.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Samnuni,

I have used radio buttons that links to one of the cells but if I lock it down then the user can't modify it. If I allow the user to modify it, they can input whatever they want too and that is what I don't want
so you want to protect the sheet, but allow users to click the buttons
did you try to change the cellproperties of the linked cell(s) to "unlocked"

see menu Format / Cellproperties / Protection (last tab)

if it isn't this what ou were after please clarify
an example would help :)

kind regards,
Erik
 
Upvote 0
Basically I want to lock the cell where it displays the result so that it can only be modified by the option buttons. The problem is that when I use protection on it, it won't change the result because it is controlled by the user. And if I allowed the user to change that cell, the user can input whatever he wants into that cell besides the options linked to it.
Book1
ABCD
2
3Button 1Result 1
4
5Button 2Result 2
6
7Button 3Result 3
8
9
10Result:Result 1
11
Sheet1
 
Upvote 0
different solutions are possible
formulabased (recommended in this situation)
buttons linked to one cell (forms-toolbar-buttons would be the easiest)
INDEX or CHOOSE formula in "result"cell ( linked cell is A1)
=CHOOSE(A1,C3,C5,C7) according to your sheet
=INDEX(C3:C5,A1) if results in C3,C4,C5

VBA
solution1
unprotect sheet
set value in "result"cell
solution2
set protection of your sheets using "userinterfaconly" like this:
Sheets(1).Protect Password:="password", DrawingObjects:=True, Contents:=True, Scenarios:=True, UserInterfaceOnly:=True
protect sheet

kind regards,
Erik
 
Upvote 0
Thanks for the help, but I don't think the formulas will make it... Once I lock up the worksheet, the user cannot modify anything because the link cell is locked also. The reason why the link cell is important and I need to control the input is because that is the control for a formula. I want the user to only have three choices.
 
Upvote 0
why don't you just unlock the linked cell ??
when proposing this solution, I made up the same situtation on a sheet and it works nicely - when you unlock the cell of course !
 
Upvote 0
yes, I figured I needed that cell unlocked, but the user can change the information in there too if I do that...
 
Upvote 0
You could always unlock the linked cell, but then apply data validation on that cell, so that the user cannot enter anything he/she wishes, only the values that would come from the radio buttons anyway....

Just a thought.

Andywiz
 
Upvote 0
you can put that cell within a hidden column or row
or under a shape (button, ...)
+
you could validate it to "impossible criterion"
(between 0.00001 and 0.00002)

this would be rather safe

if you still don't like this, you've received VBA solutions ...

best regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top