Using VBScript to control an Excel workbook, I am able to add 1 item to the drop-down list. However, I am not sure how to further add more items. This is my code:
Set excelAppObj = CreateObject("excel.appliction")
Set workbookObj = excelAppObj.Workbooks.Add
Set worksheetObj = workbookObj.Sheets(1)
With worksheetObj.Range("A1").Validation
.Add 3, 1, 1, "test1"
.IgnoreBlank = True
.InCellDropDown = True
.InputTitle = ""
.ErrorTitle = ""
.InputMessage = ""
.ErrorMessage = ""
.ShowInput = True
.ShowError = True
End With