Results 1 to 44 of 44

GetElementById vba issue

Threaded View

  1. #1
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    GetElementById vba issue

    Hi Guys...

    Have come along way with web scraping but am stuck on one certain element...Can anyone perhaps assist...
    In below images the highlighted yellow Dropdown has 4 selections
    I require selection 4
    below is some of the code I have tried...None works...
    Image1.png
    Image2.png
    Image3.png

    Set obj = obj.document.getElementsByName("PerformancePeriodStepType")
    obj.selectedIndex = 3: obj.onchange
    obj.document.getElementsByName("PerformancePeriodStepType")(3).click
    Last edited by Sintek; 02-27-2018 at 07:40 AM.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 12-15-2017, 12:14 AM
  2. Use excel VBA to access website - error 424 on getElementsbyID
    By twanbiz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2016, 10:06 AM
  3. Ability to select multiple .values under .getelementsbyid
    By Al_O_L in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-26-2014, 05:19 PM
  4. [SOLVED] Insert shift down issue macro issue
    By CC64 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-15-2012, 10:57 PM
  5. how to loop in general and then apply .getelementsbyID
    By jayinthe813 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2012, 08:45 PM
  6. Issue with X axis values NOT graphing on Scatter graph and issue with Labels
    By lmausolf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2012, 07:20 AM
  7. [SOLVED] Issue - Attachment issue - by Simon Lloyd
    By Vaibhav in forum Suggestions for Improvement
    Replies: 16
    Last Post: 03-16-2012, 06:56 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