Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How many entries can you have in List Data Validation

Hi,

Does anyone know what the maximum number of entries you can have in a
data validation list? And, is there a limit of characters for each
entry?

Thanks,

Rick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default How many entries can you have in List Data Validation

Data validation, and other lists (ie filters) can have up
to 1000 unique entries, but only 8 will fit in the list at
a time, which makes for a lot of scrolling.

I don't know if there is a limit to the number of
characters per entry, but you'd probably want to keep it
down to less than the width of the cell you are using.
For a test, I used a list with 300 character fields, but
that's too wide to fit in the entire screen width let
alone a single cell.


-----Original Message-----
Hi,

Does anyone know what the maximum number of entries you

can have in a
data validation list? And, is there a limit of characters

for each
entry?

Thanks,

Rick
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default How many entries can you have in List Data Validation

If you are typing the list in the data validation dialog box, you're
limited to 255 characters, including the commas that separate the list
items.

If you refer to a list on the worksheet (e.g. =MyList), the limit seems
to be 32767 items.

The list will display the first 255 characters of each item, but is
limited to the width of the column. (For very narrow columns, it will
extend to about 1/2".)

Rick De Marco wrote:
Does anyone know what the maximum number of entries you can have in a
data validation list? And, is there a limit of characters for each
entry?


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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How many entries can you have in List Data Validation


Hi Debra,

Thanks heaps for replying to my question? When mention refering to a
list on the worksheet (e.g. =MyList), the limit seems to be 32767 items.
How do your accomplish this in vba? Currently I am just using something
like

Cells(10,10).Validation.Add Type:=xlValidateList,
AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="my list"

How do I get 32767 chars in my list? Do you have any other ideas how I
might solve this problem??

Thanks again,

Rick


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default How many entries can you have in List Data Validation

You could enter the list in a column on a worksheet, e.g. Sheet2!A1:A32767

Then, select those cells, and click in the Name box, at the left of the
formula bar. Type a one word name, e.g. MyList, and press Enter.

You can refer to this list in the code: Formula1:="=MyList"

Rick De Marco wrote:
Hi Debra,

Thanks heaps for replying to my question? When mention refering to a
list on the worksheet (e.g. =MyList), the limit seems to be 32767 items.
How do your accomplish this in vba? Currently I am just using something
like

Cells(10,10).Validation.Add Type:=xlValidateList,
AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="my list"

How do I get 32767 chars in my list? Do you have any other ideas how I
might solve this problem??

Thanks again,

Rick


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How many entries can you have in List Data Validation


Hi Debra,

Thanks heaps for replying to my question? When mention refering to a
list on the worksheet (e.g. =MyList), the limit seems to be 32767 items.
How do your accomplish this in vba? Currently I am just using something
like

Cells(10,10).Validation.Add Type:=xlValidateList,
AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="my list"

How do I get 32767 chars in my list? Do you have any other ideas how I
might solve this problem??

Thanks again,

Rick


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Validation List - adding new entries watermt Excel Worksheet Functions 20 March 27th 09 10:06 PM
View all entries in Validation List Exceller Excel Discussion (Misc queries) 4 March 29th 07 05:28 PM
blank entries in data validation list WiFiMike2006 Excel Worksheet Functions 2 December 13th 06 07:33 PM
DataValidationList - Unique Entries Rasheed Ahmed New Users to Excel 2 August 10th 06 11:54 AM
update data validation list with new entries?? cjtj4700 Excel Discussion (Misc queries) 10 December 12th 05 01:00 AM


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