How to create dropdownlist on Excel 2003
问题 I'm creating Excel files using AutomationFactory.CreateObject("Excel.Application") . I'm using these lines of codes to create a dropdown list: mySheet.Range("A1").Validation.Add(Type:=Interop.Excel.XlDVType.xlValidateList, _ AlertStyle:=Interop.Excel.XlDVAlertStyle.xlValidAlertStop, _ [Operator]:=Interop.Excel.XlFormatConditionOperator.xlBetween, Formula1:="=List!$C$3:$C$903") The formula (Formula1:="=List!$C$3:$C$903") returns 900 rows In Excel 2010 it works perfectly, however, in Excel 2003