ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to update web form drop down options (https://www.excelbanter.com/excel-programming/374658-how-update-web-form-drop-down-options.html)

[email protected]

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



All times are GMT +1. The time now is 08:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com