Validation Lock

Apr 4, 2009

Having a problem locking the sheet and still have it work. Not sure if their is a easy work around for this. Just lock sheet and see what I get.

View 7 Replies


ADVERTISEMENT

How To Lock Or Protect Cell Using Data Validation

Jun 6, 2013

1- If I wish to write in the cell I can do it ?
2- When I do not wish to write in the cell I can do it (Its meaning protect the cell.)

View 2 Replies View Related

Lock Data Validation List For Certain Users

Feb 26, 2009

i have a query spreadsheet where all business queries are logged. Next to each query you need to select a resolving reason from a drop down list, however i would like some of these to be locked so only certain people could use them.

Lets for ease of use the resolving reasons are the following -

Not paid
Allocated Correctly
Rejected

And say the drop down list is in column P

I would like everyone to use the top 2 but only certain members of the team to be able to use the last one.

I was thinking protect the cells in some way and a worksheet change event of some kind so protect / unprotect depending on the resolving reason.

View 9 Replies View Related

Lock Cells With Data Validation List

Oct 1, 2009


I need a macro which will lock the cells after data is entered in the cell once. Cell should should be only edited after a password is provided. I found the following macro but the problem is that it's not locking the cells where I have Data Validation List :

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("A1:M10000")) Is Nothing Then 'set your range here
ActiveSheet.Unprotect Password:="1234"
Target.Locked = True
ActiveSheet.Protect Password:="1234"
End If
End Sub

View 9 Replies View Related

Lock & Unlock Cells Based On Validation

Jun 8, 2007

I need to lock certain cells on a worksheet when a value is selected from a validation list. For example:

user goes to select an option from a validation list, that cell is now locked.

User decides to change the value with a blank option, available on the same list. the cell becomes unlocked ready for new input from the list.

the cell can only allow input when the value in the list matches that of another cell. if another cell already has different data in, it wont allow you to change the value.

View 3 Replies View Related

Lock Data Validation And Yet Permit Cell Editing?

Apr 22, 2009

What I'm trying to achieve is to be able to lock the text length of a column so that users can enter text data into that column but not exceed the allowable length for our purposes. I've found a way to use auto loading macros to make a popup if they exceed the set length.

However, that is useless for our purposes because 1) pasting data into the cells as opposed to manually entering data overrides the validation just as it does when you set it with the data validation menus, 2) it requires that macros be activated in the end user's computer which we cannot guarantee will happen. If you lock in the data validation by protecting the worksheet, the end user can't enter data. Do you know of a way to lock in the data validation without using active controls like macros, and yet allow the end user to enter data into the cells. (Perhaps a solution would be to somehow prevent the pasting of data into a cell forcing the data validation to be utilized?)

View 3 Replies View Related

Lock/Unlock Cells Based On Criteria From Validation Lists

Apr 24, 2008

I'm looking for a solution to a problem and from what I've read in the forums so far, this is the place to come. I first want to say that I have tried to solve the problem by using guidance from other similar threads and adapt those answers to my needs, but as my understanding of VBA is non-existent this was somewhat difficult. I don't want to post a repeat question and I hate wasting people's time if unnecessary, but I can't do this on my own.

That being said, here is the problem;

(I have attached a simplified copy of the worksheet I am working on for reference)

I would like to lock a particular cell in my spreadsheet based upon the selections made from two drop down validation lists (Cells “C4” & “D4”)

Essentially, if a correct choice is made in both, then the cell “E4” becomes unlocked for editing. If however, the correct selection is made in one list, but not the other, I need the cell “E4” to remain locked and a message to appear to prompt the user to correct their mistake.

Furthermore, both the validation lists have a whole range of selections that are very similar but have subtle differences;

E.g.

"Soft Eye by Talurit"
"Soft Eye by Splice"

Is it possible to write a VBA code that performs a similar function to the =IF(ISNUMBER(SEARCH("**",))) formula, so that if any choice that contains the word "Soft" is selected from either or both lists then the cell “E4” becomes unlocked, but if the selection does not contain that word then the cell remains locked?

If anyone could provide a code to make this happen, I would be very grateful! But please explain how to do this, as the word “Soft” won’t be the only parameter and I may need to alter the code so I need to understand the principle behind it; For example, on the spreadsheet, if in the ‘Inboard End’ list a ‘Soft Eye’ is selected and on the ‘Outboard End List’ a ‘Soft Eye’ is selected then cell E4 is unlocked for editing. If in the ‘Inboard End’ list a ‘Soft Eye’ is selected and on the ‘Outboard End List’ a ‘Fused and Tapered’ is selected then cell E4 is unlocked for editing, but if in the ‘Inboard End’ list a ‘Soft Eye’ is selected and on the ‘Outboard End List’ a ‘Standard Eye’ is selected then cell E4 remains locked and an error message appears to alert the user that his/her choices are incorrect. If however, "Soft" is not selected in either list then cell E4 remains locked (it has to be selected in at least one of the two lists to allow editing).

This is a work in progress (not all the formulas that will eventually be used have been entered yet, so please excuse the untidiness of it all) and the choices are likely to change based on input from my colleagues, so I need to understand how the VBA works in order to alter it accordingly, but I don’t want to put any more work into this (it’s still in the early stages) if it isn’t possible to achieve these needs.

View 9 Replies View Related

Lock Sheets With Formulas And Lock Sheets With Values

Jul 2, 2009

do you know if there is vba code to lock formulas so someone sees but does not touch and the same for values see but cant change??

my sheets with formulas are SUMMARY and Sheet2

sheet with value is TABLE

View 9 Replies View Related

Clearing Validation Values Based On Another Validation

Nov 11, 2008

A2's validation is dynamic as it's selectables varies based on the selection made by the A1 Validation. (=indirect(a1)).

My problem is this....once if have selected from both validations...if I go back and change the A1 validation to a blank (or empty value) or clear the contents on that cell....validation A2's value remains as it was. I would like it to recognize that A1 is blank and also become blank (or goto an empty value).

View 2 Replies View Related

Data Validation :: Selected From 4 Validation Lists

Sep 26, 2007

I would like to know if it's possible to populate a data validation list based on what is selected from 4 validation lists?

for example:
On sheet1:
If 'Group1' is selected from data validation list1 then data validation list5 will show a list of all items from Group1. If 'Group2' is selected from data validation list2, then data validation list5 will display all the items in 'Group2'...

(I do not want to use a combo box for this)

View 9 Replies View Related

Nested Data Validation: Figure A To Enforce Dual Data Validation On A Single Cell?

Aug 19, 2009

I'm trying to figure a to enforce dual data validation on a single cell. That is, I need to restrict the user to entering only a decimal value, only if a particular other cell (say A2) is blank. To put it another way, if A2 is blank, the user can enter a decimal value, but if A2 is not blank, the user cannot enter anything. I can use Data Validation to enforce either the decimal restriction or the ISBLANK, but I'm not sure how to make them work together.

View 2 Replies View Related

CAP Lock Via VBA

Dec 18, 2007

I have a spreadsheet that requires the user to use ALL CAPS when they fill it out. Is there a way to have VBA turn on the CAP Lock regardless of the persons keyboard setting? I have asked that the users use ALL CAPS but of course that leave a lot of room for error.

View 9 Replies View Related

Possible To Lock Workbook Name?

Apr 15, 2014

I'm looking at creating some templates that people will submit to me on a monthly basis but i'd like to 'lock' the workbook name, is this possible?

View 2 Replies View Related

Lock A Cell Value

Jul 25, 2007

=IF(A4='Exported Data'!B2,'Exported Data'!C2,"")

How can I lock A so when I copy over to the right the formula doesn't change that reference to B4?

Is there a way to have the True value (Exported Data'!C2) reference one cell over instead of selecting the cell to reference from?

View 9 Replies View Related

Lock Workbook Name

Nov 20, 2008

Is there a way to lock the title of the workbook so if someone else has it, they can't rename it even if they move it to their personal computer?

View 2 Replies View Related

Set CAPS-LOCK On And Off

Nov 21, 2009

Would like to set CAPS-LOCK On and Off using VBA. Can someone help please?

View 5 Replies View Related

How To Lock Each Tab With Different Password

Oct 25, 2011

I have a excel document with 5 tabs (sheets) and, because different people work with a different tab (sheet), I want to lock each tab (sheet). I want the tab to be visible on the tab bar but when you click on it you will not be able to see the content of that tab (sheet) until you provide the right password (each tab with a different pasword).

View 2 Replies View Related

Lock Tab Location?

Nov 16, 2011

Is there a way in excel to prevent someone from "re-ordering" tabs in a workbook without using a macro?

I am using a sum formula that goes across multiple tabs, but noted when I rearranged the order of the tabs, that the results of the formula changed. After some minor research, I noted that I had moved a tab outside the "sum range" inadvertently.

View 1 Replies View Related

Caps Lock In VBA

Nov 1, 2002

How do you programatically enable the CAPSLOCK key in VBA? I've tried:

Sendkeys "{CAPSLOCK}"

When I run this, Excel's status bar flashes "CAPS" for about 1 second then disappears. It seems to have no impact on the keyboard for case-sensitivity - which is what I'm shooting for.

View 9 Replies View Related

Lock Cell Value

Jan 12, 2008

Need code that would make cell J2 be populated with U no matter what was placed in cell J2 either manually or externally.

View 9 Replies View Related

Lock A Sheet

May 14, 2009

how to lock a sheet in Excel 2007 so that no one can navigate to that sheet.

View 9 Replies View Related

Cell Lock

Feb 24, 2004

I can have amacro which will lock each cell where a "Y" or "N" is inserted........ eg the netire sheet is unprotected but the moment Y is inserted in C 5 the cell gets locked, next entry in D 10 has a N entry and that too upon entry get's locked
The idea being once Y or N is typed that cell can no longer be changed

View 9 Replies View Related

Lock Certain Cells By Vba

Nov 7, 2006

I am aware of setting protection to certain cells by the Excel Options. which is unlocking the by defalut locked cells and then setting the sheet protect in tools->protection. I want this to be done through VBA code.

i have a template which has text in some cells and some cells are blank, i need to lock the cells which has text and keep the blank cells unlocked for user input. As this is a template it will be copied to another sheet, so i need to retain the protection properties in all new sheets (copied from the template). Attaching the template for which the protection needs to be done.As of now the sheet1 has protection property set through the toolbar properties.

View 2 Replies View Related

Lock Vba Coding

May 1, 2007

How it is possible to lock the VBA coding and Modules? I mean when Some one want to view VBA coding the Password window should not appear, istead of that a message box appears with message something like "Not viewable"

View 9 Replies View Related

Lock Cells After Done With Formula?

Feb 8, 2014

I use the attached workbook to keep tack of feed use in turkeys. when a new flock is added to a farm (Airport View or Home farm) A template is copied and pasted from the "templates" sheet depending on what type of diet they will be on. (Ralco ABF or Ralco Standard) that template refers to the Ration sheet to calculate how much corn is in each diet. After a flock is complete I will never change the numbers again, it is just for record keeping. I want to be able to change the Corn/ton numbers in a ration (on the rations tab) if need be and not affect all the older completed records.

View 1 Replies View Related

How To Lock A Picture In Excel

Apr 11, 2013

I want lock a picture in excel like logo, if i copy that logo and past in another sheet the position should be same as parent sheet.

View 1 Replies View Related

How To Lock Formula Column

Oct 28, 2013

How to lock a formula column that need a password in editing the formula

View 3 Replies View Related

Lock Or Disable Textbox?

Feb 28, 2014

Can we lock or disable text box editing in excel without protecting sheets?

View 1 Replies View Related

How To Lock Cell Based On First Value

Jul 2, 2014

I have a multisheet excel workbook that I am programming. I was wondering if there is a way to lock a cell on one sheet after the initial value was put in, allowing me to change it later. This may not be so clear so here is the problem....

I have Workbook1. The input from cell A3 on Sheet1 is 5. I have made a second sheet called Order Form. In cell B5 of Order form I have made it ='Sheet1'!A3. I am looking for a way to be able to change cell A3 on Sheet1, but keep the 5 on Order Form.

View 1 Replies View Related

Conditional Cell Lock

May 29, 2008

I have an sheet(see attached) with some dummy data, now i want to lock (with password) only those cells depending on the dropdown (highlighted in sheet).For eg,if we select A from dropdown of col c and then locked from dropdown of col D , it should lock the complete row(s) of value A in col H and rows with value B shall remain editable.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved