I have a question on Weblist..I have a drop down that can have values Electric - xxxxxxx or Gas - xxxxxxx. I want to select Gas-xxxxxx. I am doing oCSOL.WebList("html id:=objUCBHDataView_ddlMeter").Select "Gas -.*" and it doesn’t seem to work..any advise?
You can use a regular expression to identify the weblist object, but I don't think you can use a regular expression to identify an item in any list object and expect it to find the item.
If you search this forum, you will find that someone has posted a function that lets you submit a list object and a partial item name and it will find the item in the list and select it. I found this function earlier this year and have been using it successfully in my testing. It might even be in the stickied thread for user submitted fuctions.
"The last 10% of any software project will take 90% of the budgeted time. The first 90% will take the other 90%"