mesg2anil
14 years agoRegular Contributor
The Combo Box Item Not Found Error
Hi,
I'm trying to execute the below code by calling excel file and using the str to input the data from excel to web application... I'm getting "The Combo box item not found" error...
I'm trying to execute the below code by calling excel file and using the str to input the data from excel to web application... I'm getting "The Combo box item not found" error...
Dim str, arrStr
str = ReadDataFromExcel() 'This is calling my excel file correctly
arrStr = Split(str,":")
'Enter land owner details from excel to application below
Call Mainmenu.Item("cboPaymentFor").ClickItem(arrStr(0))
Call Mainmenu.Item("cboProperty").ClickItem(arrStr(1)) 'PName
Clickitem dont work in this situation or should i use something else?