Filling a Web Form and Page with Microsoft VBA Excel Internet Explorer Application

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ต.ค. 2024

ความคิดเห็น • 55

  • @supportrander3515
    @supportrander3515 3 ปีที่แล้ว

    Thank you, this knowledge is helpful to me.

  • @Exceltrainingvideos
    @Exceltrainingvideos 10 ปีที่แล้ว +1

    Excellent. Very well explained. Thank you!

    • @tamerali1415
      @tamerali1415 3 ปีที่แล้ว

      Hello Mr. Dinesh... I hope you fine... Just wanna say you r a very great person

  • @vinu315
    @vinu315 11 ปีที่แล้ว

    I am trying to automate excel to enter addresses into google maps so the user can get the distance and time of travel from point A to B. Right now, I only know about internet explorer object from what you have posted in your channel. Hopefully more videos can help me know more of its functionality.

  • @dqbillos
    @dqbillos 11 ปีที่แล้ว

    Sir... thanks a lot!!! You explain really good, I don't know much about HTML or those codes, but I did what I wanted to do.

  • @niitajay6
    @niitajay6 2 หลายเดือนก่อน

    This is called maths😊

  • @samanehsh2233
    @samanehsh2233 8 ปีที่แล้ว +1

    hi Alex , it was great , i want to do it . thank you

  • @ToUnplug
    @ToUnplug 11 ปีที่แล้ว

    Hi Alex - is there a way to read the data from xls or csv file... & loop it? Objective is to do more than one so it loops till end of file and we can do batch creations...

  • @30knotwind
    @30knotwind 11 ปีที่แล้ว

    Thanks. The code works for me for entering data. But the last thing I need to know is how to click the Submit/Enter button. I cannot figure this out after multiple google searches. It seems like I should be able to identify the button and send a 'click' command, or something similar. How would you end your code by clicking the 'send' button? Thanks

  • @jesfjo
    @jesfjo 6 ปีที่แล้ว

    Must certain References be checked in Tools > references?

  • @oceanf2451
    @oceanf2451 6 ปีที่แล้ว

    Hi, I need to do UPLOAD an image bij VBA in a website with that possibility. Is there any extended explanation for that with a general code witch I can follow? thanks.

  • @drs10301
    @drs10301 4 ปีที่แล้ว

    Dear Sir, what is the code for "waiting till webpage completely loads in chrome using excel vba" as it is "ie.readystate = readystate_complete" in internet explorer

  • @zummotv5181
    @zummotv5181 9 ปีที่แล้ว +1

    Alex can someone detect if i am using automation on the website?

  • @SLSMe
    @SLSMe 10 ปีที่แล้ว

    Really beneficial. Thank you for your help, Sir.

  • @abdullahquhtani8058
    @abdullahquhtani8058 6 ปีที่แล้ว

    Great. But one important thing is missing. How to click submit button then read displayed data from the webpage and save that in excel sheet?

  • @PetersBiler
    @PetersBiler 11 ปีที่แล้ว

    Yeps! Works fine! Super tutorials.. Thank you very much!

  • @kupkel711
    @kupkel711 9 ปีที่แล้ว

    Hi Alex. I was wondering if you can have a userform in excel fill it out and then click a button and it can navigate to a site and fill it in with the data you have inputed in the excel userform?

    • @alexcantu3
      @alexcantu3  9 ปีที่แล้ว

      +kupkel711 Of course, check out this series: th-cam.com/play/PL6OYc4rwKjcOu3UL7LYpvO_S2waYO-hVU.html

  • @rishidarokar8501
    @rishidarokar8501 7 ปีที่แล้ว +1

    Hi Alex,
    can you please tell me, how to call date picker to set date?

  • @youknowme6780
    @youknowme6780 ปีที่แล้ว

    My vba works to fill the online first page, from the data in excel... But when it clicks on submit, a new page loads and which requires more data to be filled in continuation of first page information...My issue is how to keep the page active
    So that it keeps on getting the data from the excel sheet... In continuation... Kindly suggest

  • @KeithAul
    @KeithAul 9 ปีที่แล้ว

    I'm using the same website as you in this video and I'm only using the code up through the for loop to test things out and the code is not working for me. It never finds the phrase "Sign Up". How I know this is I put msgbox's through the for loop and if statement. The msgbox in the If statement never executes because the statement must always be false. Do you have an idea why it never finds the text "Sign Up"

  • @mustafabakkal8551
    @mustafabakkal8551 9 ปีที่แล้ว

    is there any web side to copy of your code to use directly ?

  • @nefibernal6113
    @nefibernal6113 9 ปีที่แล้ว

    Hello, i'm trying to do something similar but the form that i want to fill out has drop down fields, instead of free form text fields is there a way to do that?

  • @ShereefIsmail
    @ShereefIsmail 9 ปีที่แล้ว

    Hi Alex, Any chance you can direct me to the code you use to select from online drop down lists?

  • @MichaelJWashingtonJr
    @MichaelJWashingtonJr 11 ปีที่แล้ว

    Yes. That was it. You The Man.

  • @haroldmcbroom7807
    @haroldmcbroom7807 6 ปีที่แล้ว

    What happens if you go through all the elements and it doesn't find the "Sign Up" hyper link, are you stuck in an endless loop? Is there a "condition not satisfied" state to exist the for loop, and end subroutine with an error message?

  • @Paul-om1zs
    @Paul-om1zs 2 ปีที่แล้ว

    May you provide the code in the description?

  • @Lyle-xu6cc
    @Lyle-xu6cc 6 ปีที่แล้ว

    When I do this on my site, it was change the Value under Inspect Element, but the text box itself won't change. Is there a way around this?

  • @MichaelJWashingtonJr
    @MichaelJWashingtonJr 11 ปีที่แล้ว

    ok next bit of awesome:
    I tried doing what you just posted with
    Call IE.Document.GetElementByID("Prefill").Click
    based on the following bit of page source:
    input type="button" value="Prefill" onclick="prefill()"
    Yet it's not working. Any thoughts?

  • @MichaelJWashingtonJr
    @MichaelJWashingtonJr 11 ปีที่แล้ว

    Thanks again.

  • @PrakashPraaku
    @PrakashPraaku 7 ปีที่แล้ว

    This video is truely informative. Thank you sir.
    Can we automate to upload a pdf document to a specific website using VBA sir ??
    if so please upload a video on that, it will really help us a lot.
    Thanks in advance,
    Prakash GS

  • @MichaelJWashingtonJr
    @MichaelJWashingtonJr 11 ปีที่แล้ว

    Trying to pass the contents of a cell, and I've got
    SetAttribute("value", ActiveSheet.Range("c2").Select)
    however i'm getting true as my output. instead of the result of the formula in the cell. Any Help?

  • @MichaelJWashingtonJr
    @MichaelJWashingtonJr 11 ปีที่แล้ว

    Great video, did a search for something I need to automate and found this, could you start putting the code you use in the comments or a link to a pastebin? :p

  • @PetersBiler
    @PetersBiler 11 ปีที่แล้ว

    Can i make it check an uncheked-checkbox?

  • @dwadwadawd2243
    @dwadwadawd2243 6 ปีที่แล้ว

    Would it be possible to get a download link?

  • @jinsonmemmanuel
    @jinsonmemmanuel 7 ปีที่แล้ว

    how do you fill a text box in an already opened web page.?

  • @atulmits
    @atulmits 10 ปีที่แล้ว +1

    Alex its seems not complete, can you please tell how to press button after it ?

    • @alexcantu3
      @alexcantu3  10 ปีที่แล้ว

      Could you please give more background? What are you trying to accomplish?

    • @atulmits
      @atulmits 10 ปีที่แล้ว

      Actually I need to submit roll number kind of data and save it by clicking button. Then grab the output data from a Web page.

    • @alexcantu3
      @alexcantu3  10 ปีที่แล้ว +1

      Atul Mandal Got it. There is a lot to learn then, and you should be familiar with the DOM (Document Object Model). I would recommend watching this series first: th-cam.com/play/PL6OYc4rwKjcOu3UL7LYpvO_S2waYO-hVU.html
      That will take about 3 hours of your life. :) but save you months, possibly even years of learning from the text books. If you have questions after, please let me know. I answer where and when I can. Thank you again!

    • @atulmits
      @atulmits 10 ปีที่แล้ว

      ***** Thank you Alex, I will go through this link, will let you know if some doubt remain ... Thanks again :)

  • @wiemzoghlami6297
    @wiemzoghlami6297 11 ปีที่แล้ว

    please,how i can do the same program with visual C++

  • @willieayubojr
    @willieayubojr 11 ปีที่แล้ว

    automatic file upload. :) thanks alot

  • @mohitmavani992
    @mohitmavani992 7 ปีที่แล้ว

    software that can fill the form automatically from excel sheet. Just submit should be manually.

    • @surajrf2008
      @surajrf2008 6 ปีที่แล้ว

      Mohit Mavani submit can also be done by
      Ie.documents.getelementid(“button”).click

  • @bbmak0
    @bbmak0 10 ปีที่แล้ว

    It is hard to follow your video series. After I watch this video, which one should I go to? and Where is the previous one?

    • @alexcantu3
      @alexcantu3  10 ปีที่แล้ว +1

      Hello! This video was not part of a series. If you are looking for a video series on VBA and the InternetExplorer.Application object, try this series: th-cam.com/play/PL6OYc4rwKjcOu3UL7LYpvO_S2waYO-hVU.html

    • @bbmak0
      @bbmak0 10 ปีที่แล้ว

      ***** thx... ur videos are great. I use the VBA in excel spreadsheet a lot, but I rarely use with the web. I would love to see more of these videos.

  • @kiewan
    @kiewan 10 ปีที่แล้ว

    Can you paste the code in about?

    • @alexcantu3
      @alexcantu3  10 ปีที่แล้ว

      Hi - Don't have the code anymore. But if you play the video in 720P, you should be able to see the code. Thank you for watching!

  • @oceanf2451
    @oceanf2451 6 ปีที่แล้ว

    *which:)

  • @sarahhayden1456
    @sarahhayden1456 8 ปีที่แล้ว

    Alex....I need to accomplish the identical result (below), but have to do it in chrome. Any help would be greatly appreciated.
    Private Sub SendsTextToFieldUsingIE_Click()
    Dim objIE As Object
    Set objIE = CreateObject("InternetExplorer.Application")
    Dim webSite As String
    webSite = "www.google.com/"
    With objIE
    .Visible = True
    .navigate webSite
    Do While .Busy Or .ReadyState
    4
    DoEvents
    Loop
    objIE.Document.getElementByID("lst-ib").Value = "This is
    the block of sample text that I am sending to a field on a webpage"
    End With
    End Sub