Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Data Validation Unique List & Alphabetized

Hi,
I'm using a column on a worksheet as the source for data validation for
another worksheet. The column used often contains double entries and the
worksheet it is in is always sorted using criteria in a separate column. The
result is that my Data Validation list is not sorted and contains duplicates.
Is there a method for extracting the list for Data Validation and having it
sorted A-Z using VBA? I should mention that the list is constantly being
modified.

Excel 97 on XP
--
Casey


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Data Validation Unique List & Alphabetized

There is no built in support for this (no checkboxes for unique values,
sorted).

You would need to construct a unique sorted list in another location and
make that the source for your data validation.


You could adapt this code from John Walkenbach's site to create the list:

http://www.j-walk.com/ss/excel/tips/tip47.htm


--
Regards,
Tom Ogilvy


"Casey" wrote:

Hi,
I'm using a column on a worksheet as the source for data validation for
another worksheet. The column used often contains double entries and the
worksheet it is in is always sorted using criteria in a separate column. The
result is that my Data Validation list is not sorted and contains duplicates.
Is there a method for extracting the list for Data Validation and having it
sorted A-Z using VBA? I should mention that the list is constantly being
modified.

Excel 97 on XP
--
Casey


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Data Validation Unique List & Alphabetized

Thanks Tom.
--
Casey




"Tom Ogilvy" wrote:

There is no built in support for this (no checkboxes for unique values,
sorted).

You would need to construct a unique sorted list in another location and
make that the source for your data validation.


You could adapt this code from John Walkenbach's site to create the list:

http://www.j-walk.com/ss/excel/tips/tip47.htm


--
Regards,
Tom Ogilvy


"Casey" wrote:

Hi,
I'm using a column on a worksheet as the source for data validation for
another worksheet. The column used often contains double entries and the
worksheet it is in is always sorted using criteria in a separate column. The
result is that my Data Validation list is not sorted and contains duplicates.
Is there a method for extracting the list for Data Validation and having it
sorted A-Z using VBA? I should mention that the list is constantly being
modified.

Excel 97 on XP
--
Casey


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
Data Validation - List of unique values Oscar Excel Discussion (Misc queries) 2 February 17th 10 01:59 PM
Need UNIQUE values for Data Validation List jg Excel Programming 6 April 12th 06 10:42 PM
Unique numbers from data validation list nick_thomson Excel Worksheet Functions 4 April 4th 06 02:19 PM
Searching an Alphabetized list for data, then RESORT FLKULCHAR Excel Worksheet Functions 4 September 18th 05 04:41 AM
Data Validation using List (But needs unique list in drop down lis Tan New Users to Excel 1 July 8th 05 03:32 PM


All times are GMT +1. The time now is 08:14 AM.

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"