Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there. I'm having a weird problem when trying to create a list of
values in a spreadsheet. The list worked fine before, when only 5 values were in the list, but now, when I want to add 2 more, it gives me a "Method 'Add' in object 'Validation' failed" error. Could anyone tell me why? This is the list of values I need, and below is the line that is getting an error. Thanks! reasonList = "Company No Longer In Business/L'enterprise a fermé ses portes," & _ "Investigations Action/Mesure d'enquête," & _ "Not In Region/Hors région," & _ "On-Site Review < 2 Years/Examen sur place < 2 ans," & _ "Company Has Restructured/L'entreprise a restructuré," & _ "Other Approved Reasons/Autres raisons approuvées," & _ "Broker or Courier/Courtier ou Messager" xls.Cells(row, P1colNOTSELECTEDREASON).Validation.Add xlValidateList, xlValidAlertStop, xlBetween, reasonList |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Validation drop down list header problem | Excel Discussion (Misc queries) | |||
Validation problem with list 2 working | Excel Discussion (Misc queries) | |||
List Validation and IF Function Problem | Excel Worksheet Functions | |||
Combination of Validation List and VLOOKUP Problem | Excel Worksheet Functions | |||
Excel Validation / Dropdown list Problem | Excel Programming |