Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default populate a validation List?

1) I've managed to populate a validation list based on data from another
Worksheet but I'm wondering if it's possible to populate a list from data in
VBA?

2) Is there another way to create a dropdown list in every cell in all of
Column B with data from VBA?

3) Is there a way to pass my own AutoComplete data to excel from VBA instead
of it looking at the above cells in the column?


THANKS in advance for the ideas

P.S. I'm trying to find a creative way to first select a parent from a list
(data on Worksheet1) and then in the next column list the children
registered to that parent.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default populate a validation List?

You can create dependent data validation lists. There are instructions he

http://www.contextures.com/xlDataVal02.html

Although data validation doesn't support autocomplete, there's a sample
file here that provides a combobox from which you can select one of the
values from the data validation list. In the combobox, you can enable
autocomplete:

http://www.contextures.com/excelfiles.html

Under 'Data Validation', look for 'Data Validation Combobox'


HotRod wrote:
1) I've managed to populate a validation list based on data from another
Worksheet but I'm wondering if it's possible to populate a list from data in
VBA?

2) Is there another way to create a dropdown list in every cell in all of
Column B with data from VBA?

3) Is there a way to pass my own AutoComplete data to excel from VBA instead
of it looking at the above cells in the column?


THANKS in advance for the ideas

P.S. I'm trying to find a creative way to first select a parent from a list
(data on Worksheet1) and then in the next column list the children
registered to that parent.




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default populate a validation List?

This would work except that as far as I know you can't create one Validation
list that is dependent on another validation list unless you give the range
a "name" that matches the values in the other validation list. In my case I
can't manually go through and create a name for every new child and parent
relationship. Any other ideas?


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
Auto Populate Date when specific entry is chosen from data validation btrich14 Excel Worksheet Functions 1 August 4th 10 03:56 PM
How can I populate a drop down list from Data Validation? Brian Excel Discussion (Misc queries) 1 August 17th 09 05:32 PM
Populate a Validation List WLMPilot Excel Discussion (Misc queries) 3 December 5th 07 12:49 AM
Validation (Drop down list vs simple text length validation) Bob Phillips[_6_] Excel Programming 2 April 27th 04 07:47 PM
Validation (Drop down list vs simple text length validation) Jason Morin[_2_] Excel Programming 1 April 27th 04 04:56 PM


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