Hello all, I've got another problem with my Combo Boxes. If you remember, I was having an issue here with changing WndIdexes midscript. Well I fixed that, thanks to a suggestion from eholton. However, I'm still having a problem. Looping through one of my combo boxes, the Click method is ignoring the index number I'm telling it to click on and instead reclicking on index 0. My code looks like this:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">Set ComboBox1 = GetChildObject(*trivial info goes here*)
ComboBoxCount = ComboBox1.wItemCount
ComboBoxPos = 0
Do Until ComboBoxPos = ComboBoxCount
ComboBoxPos = ComboBoxPos + 1
Next </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">It works fine for 0, but after that for about 19 more loops, I succesfully call .Click(ComboBoxPos) but it appears that the script is actually calling .Click(0). After a number of loops, the problem seems to correct itself and actually clicks the position its supposed to.
Any thoughts or ideas? Am I the only one who's hd this problem?