Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi everyone
Is there a way of removing validation from a specific cell after a value is selected from another cell (List). assume I have a validated "Company" list in Column A and the validated "Employees Names" listed in column D eg After selecting "...Unlisted" from cell A1, can I then using VB to remove the validation in D1 so I can manually input a name/value in it. TIA Mark Also could really use help on the following which I posted already, but as yet have recieved no responses to, just need to know if it is possible. Example: If I select XYZ Trans from validated "Company" list in Column A, I would like the validated "Employees Names" listed in column D to display only the names of the employees for that company. Once again TIA Mark. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
When you say "remove the validation in D1 so I can manually input a
name/value in it", Do you mean that:- You want to add a name to the validation list for D1 or You simply want to remove the validation from D1 and type a name into D1 or You want to type a name into D1 and add it to the validation list and then reinstate the validation for D1 with the extra name in it. -- Regards, OssieMac "NoodNutt" wrote: Hi everyone Is there a way of removing validation from a specific cell after a value is selected from another cell (List). assume I have a validated "Company" list in Column A and the validated "Employees Names" listed in column D eg After selecting "...Unlisted" from cell A1, can I then using VB to remove the validation in D1 so I can manually input a name/value in it. TIA Mark Also could really use help on the following which I posted already, but as yet have recieved no responses to, just need to know if it is possible. Example: If I select XYZ Trans from validated "Company" list in Column A, I would like the validated "Employees Names" listed in column D to display only the names of the employees for that company. Once again TIA Mark. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thx for the reply OzzieMac
I will check out Roger's advise and sus out Debra Dalgleish's site. many thx Mark. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi again Mark,
In answer to your second question; it can be done but needs an event driven macro that runs each time the company name is changed. Also needs some special setup of the validation lists. If you want it then let me know but it might be a day or two before I can get back to you on it because I am committed to other things at the moment. -- Regards, OssieMac "NoodNutt" wrote: Hi everyone Is there a way of removing validation from a specific cell after a value is selected from another cell (List). assume I have a validated "Company" list in Column A and the validated "Employees Names" listed in column D eg After selecting "...Unlisted" from cell A1, can I then using VB to remove the validation in D1 so I can manually input a name/value in it. TIA Mark Also could really use help on the following which I posted already, but as yet have recieved no responses to, just need to know if it is possible. Example: If I select XYZ Trans from validated "Company" list in Column A, I would like the validated "Employees Names" listed in column D to display only the names of the employees for that company. Once again TIA Mark. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Mark
in answer to your second question, you need Dependent Lists. Take a look at Debra Dalgleish's site http://www.contextures.com/xlDataVal02.html for clear instruction on how to do this - and lots more!! With regard to your first question, one of the problems with DV is it can be bypassed totally if you paste a value into a DV cell as opposed to typing it or selecting from dropdown. You can use this to your advantage, if you type the new name somewhere else, Copy it, then Paste it to your cell with "...Unlisted" However, if you need the name to be available in the Source list for the future, just add it there first, then use the dropdown to select it. Make your DV lists dynamic, and as you add new names to the list, so they will become available in the dropdown. -- Regards Roger Govier "NoodNutt" wrote in message ... Hi everyone Is there a way of removing validation from a specific cell after a value is selected from another cell (List). assume I have a validated "Company" list in Column A and the validated "Employees Names" listed in column D eg After selecting "...Unlisted" from cell A1, can I then using VB to remove the validation in D1 so I can manually input a name/value in it. TIA Mark Also could really use help on the following which I posted already, but as yet have recieved no responses to, just need to know if it is possible. Example: If I select XYZ Trans from validated "Company" list in Column A, I would like the validated "Employees Names" listed in column D to display only the names of the employees for that company. Once again TIA Mark. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thx heaps for your help roger
Unfortunately, I work in the transport industry and most of the guy's there are all but illiterate and would not know how to add a name to a named list, then edit the name range to include it the droplist. Looks like I will have to do it for them as the need arises. I will check out Debra Dalgleish's site. many thx Mark. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
G'day Roger
Deb Dalgliesh's handy work paid well. Thx for poining me in the right direction Regards Mark. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ListBox to display data between two dates | Excel Discussion (Misc queries) | |||
Setting and filter Listbox data | Excel Discussion (Misc queries) | |||
listbox B conditional of input in Listbox A | Excel Discussion (Misc queries) | |||
Setting up a validation of data listbox to provide the unique items within a range | Excel Worksheet Functions | |||
MSOffice Excel 2003-Validation Listbox takes only 47 values | Excel Worksheet Functions |