+ Reply to Thread
Results 1 to 8 of 8

Dependant Webform Dropdown not filling in and stays greyed out

  1. #1
    Registered User
    Join Date
    01-20-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    7

    Dependant Webform Dropdown not filling in and stays greyed out

    Hi

    I have searched and searched everywhere for the answer to this, but have a feeling it is down to the way the webform I am trying to fill out is put together. I can get the VBA to fill the first Dropdown on the webpage, but the second stays greyed out. If I get the page to refresh then the first menu choice reverts to what it was. There is no 'onchange' in the HTML and I can't get 'FireEvent' to work either. But there seems to be an 'optgroup label' in the code that I have never seen before. Any suggestions??


    My VBA code has various variables that are collated from data input on excel and to fill the form I use. The 'INCIDENT_RESOLUTION[field_resolution_group_id]' is the first dropdown. 'INCIDENT_RESOLUTION[field_resolution_id]' is the dependant second dropdown.

    Please Login or Register  to view this content.
    So All the fields fill fine but the 'INCIDENT_RESOLUTION[field_resolution_id]' drop down stays greyed out. Your help will be mucho appreciated.

    Thanks
    Last edited by bobberuk; 02-08-2016 at 12:51 PM.

  2. #2
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    Re: Dependant Webform Dropdown not filling in and stays greyed out

    Hello bobberuk, please provide the url of the webpage you want to fill information into.

  3. #3
    Registered User
    Join Date
    01-20-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    7

    Re: Dependant Webform Dropdown not filling in and stays greyed out

    Hi

    It's an internal website so you won't be able to access it if I gave you the URL. If it helps I have attached the relevant piece of code as a word document

    Thanks
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    Re: Dependant Webform Dropdown not filling in and stays greyed out

    Add this code after your macro fills the first combo box. It should now fill the second combo box with "Battery harness replaced"

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    Re: Dependant Webform Dropdown not filling in and stays greyed out

    This is the complete code that works for me.
    You will need to reference both Microsoft Internet Controls and Microsoft Shell Controls And Automation libraries

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    01-20-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    7

    Re: Dependant Webform Dropdown not filling in and stays greyed out

    Thanks for this, I will give it a go today, and let you know how I get on.

  7. #7
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    Re: Dependant Webform Dropdown not filling in and stays greyed out

    Hello bobberuk, i hope you are doing well. Did you try the code? i was wondering if it worked or not. Have a good day!

  8. #8
    Registered User
    Join Date
    01-20-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    7

    Re: Dependant Webform Dropdown not filling in and stays greyed out

    Hi

    Sorry it's taken me so long to respond, I have had all sorts of work thrown at me last minute and just haven't had a chance to get on here. The code worked of a sort, and I have now tweaked it and got it to work so thanks very much for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional dependant dropdown list
    By SoulPrisoner in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-22-2015, 10:07 AM
  2. [SOLVED] Dependant Dropdown Lists not working
    By Oldsquid in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2014, 09:45 AM
  3. greyed out toolbars and dropdown menu choices after using VB Editor
    By PSMadison in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2013, 05:11 PM
  4. Dependant dropdown lists
    By Adamitus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-21-2012, 12:36 PM
  5. Selecting value from dropdown dependant on another cells value
    By shenty in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-27-2012, 08:11 AM
  6. Dependant Dropdown Lists or another way?
    By ArnyVee in forum Excel General
    Replies: 1
    Last Post: 03-05-2009, 05:18 PM
  7. Dependant dropdown
    By Fishy in forum Excel General
    Replies: 6
    Last Post: 10-16-2005, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1