Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default Removing Data Validation (Listbox)

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Removing Data Validation (Listbox)

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Removing Data Validation (Listbox)

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.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Removing Data Validation (Listbox)

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.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default Removing Data Validation (Listbox)

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.






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default Removing Data Validation (Listbox)

Thx for the reply OzzieMac

I will check out Roger's advise and sus out Debra Dalgleish's site.

many thx
Mark.


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default Removing Data Validation (Listbox)

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
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
ListBox to display data between two dates ialami Excel Discussion (Misc queries) 0 April 24th 07 10:22 PM
Setting and filter Listbox data Gizmo63 Excel Discussion (Misc queries) 1 February 5th 07 04:03 PM
listbox B conditional of input in Listbox A Kim K Excel Discussion (Misc queries) 1 October 31st 06 08:27 PM
Setting up a validation of data listbox to provide the unique items within a range [email protected] Excel Worksheet Functions 8 July 30th 06 09:00 AM
MSOffice Excel 2003-Validation Listbox takes only 47 values Keryun Excel Worksheet Functions 4 February 2nd 06 06:02 PM


All times are GMT +1. The time now is 11:18 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"