Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You didn't say why you want to avoid using a range, but perhaps you
could use a named list on a hidden worksheet. John Sherry wrote: Ok, then I'll find another way to achieve what I want. "Debra Dalgleish" wrote: There's a 255 character limit on the delimited list for Data Validation. John Sherry wrote: Has anybody else had the following problem? I have a Validation object on a Target cell, I change the validation list dynamically in an event handler (first deleting the original list) with the add method and a delimited List in a String. Now if the list is longish (say 256 characters total, 26 surnames) I get an add method failure message and Excel exits. With shorter lists it doesn't happen. Now dynamic Strings should be good to about 2G characters, I can debug.print the string okay. Is there a limit on the number of items or characters that can appear in the Validation List? I want to avoid using a range of cells to hold the list. I have tried this on Win2K with Office 2000, and on WinXP with Office 2003 same failure each time. Thanks in advance -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
error message Method €˜Add of object €˜CommandBar Controls fail? | Excel Discussion (Misc queries) | |||
Data Validation Fail | Excel Worksheet Functions | |||
linear graphical method programming | Excel Programming | |||
add-in macro strange errors--method sheets of object workbook fail | Excel Programming | |||
method vbproject of object workbook fail | Excel Programming |