For exemple, if I want to select france, I can do it the this way
<select name="centre" class="form-control" required="">
<option value="">Centres</option>
<option value="Edu2017-2017-02-23-04-43-43-577">Canada</option>
<option value="Edu2017-2017-03-22-04-59-51-627">USA</option>
<option value="Edu2017-2017-03-29-05-13-54-637">France</option>
</select>
Code: Select all
wb.Document.All.centre.selectedIndex := "3"
Code: Select all
wb.Document.All.centre.Value := "Edu2017-2017-03-29-05-13-54-637"
Sorry if my english is not clear.