dropdown1.Value = myVar
doesn't work; what is the correct syntax to set the selector?
Thanks much in advance.
What is the application? There are a lot of 'dropdowns' out there
with different object models. The HTML/DHTML Select object is one
such dropdown and it uses a 'selected' property to do what you
want ...
for each opt in dropdown.options
if lcase(opt.text) = lcase(myVar) then opt.selected = true
next
Other applications may use a different approach.
Tom Lavedas
===========
http://members.cox.net/tglbatch/wsh/
Sorry, it is in an HTA, and your solution works perfectly, thanks!