We help IT Professionals succeed at work.
Get Started

How to modify my current vba code to select the value in an IE dropdown menu verses making the value equal to it?

kbay808
kbay808 asked
on
815 Views
Last Modified: 2016-02-11
When I use the below code it changes the value in the IE form, but when I click submit the value reverts back to the original setting.   The spelling is correct.  With an invalid value the value disappears.  I hoping that by selecting the option instead of just changing the value the new value will be accepted.

                Set objFound = objFrameDoc.getElementById("X46")
                If objFound Is Nothing Then
                    
                Else
                    objFound.Value = "Rejected"
                End If

Open in new window

Comment
Watch Question
Excel Dev
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE