View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] Dave.Curious@gmail.com is offline
external usenet poster
 
Posts: 1
Default How to update web form drop down options

Hi,

I am trying to automate a web form-filling process, and there is a
field (field A) which has different options X, Y, Z in it. For each X,
Y, Z option, there are different options for another field (field B).

Now field B initially is empty. But manually choosing X in the website
will populate field B with the appropriate options. However when I
write VBA code to fill in field A with X, it does not populate field B.

Is there some code that I'm missing?

Here's what I've got:

Set targetvalue = .Item("A")

targetvalue.Value = "X"



Thanks in advance!

Dave