Populate Internet Textbox, Fill Forms, click Submit using Excel

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

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

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

    Thank You! great video! I've found another way to inspect the element is to use F12 and then click on the elements tab then click on the little ICON top left, it will let you click on anything you would like the information on. You end up in the same place that you displayed in video.

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

    Nice simple explanation and demonstration. Wish I could give you more than one thumb up.

  • @DerekS1
    @DerekS1 9 ปีที่แล้ว +5

    Excellent video and very helpful thank you!!!! Is there a way to have it move on to next ranges? So for instance i'm using this to prefill forms for work from excel data however, there's multiple lines and I need to submit one form for each client. So one would be ranges A-L row 2 (A2, B2, C2, etc) then we would submit, and the next would be A-L row 3 (A3, B3, C3, etc) and we would submit the next form. Hopefully that makes sense?

    • @4johnhales
      @4johnhales 8 ปีที่แล้ว

      I have the same question

  • @Cpjw88
    @Cpjw88 9 ปีที่แล้ว +4

    Hey there, great video!
    Just wondering is it possible to use, say, the entire coulmn A as the range rather than just A1?
    The form I am populating allows for multiple values to be entered so I want it to pull a long list of all values in column A (A1, A2, A3 etc until it finds a blank cell).
    Any help would be greatly appreciated :)

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

    Perfect.. I was getting crazy looking for it - works perfectly... Thanks a lot

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

    thanks for video. it was helpful for beginners like me. Please upload more videos.

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

    Thank you for the video! Very informative and helped me out a lot. I did have a question. After populating a form in IE, I tried to hit submit (via code and manually), but the form doesn't recognize that data has been populated. It has error validation that states the text boxes/combo boxes are empty. Do you know if there is a way to force the form to recognize the data? Thanks in advance!

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

    Great effort man, however I have an issue with filling drop down lists on webpages using values in my excel sheet, and would like to ask as well about doing the whole thing in chrome instead of IE, what should I do to achieve that?

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

    Awesome tutorial. Thanks for sharing!

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

    Thanks so much for posting this video. Do you think it could be done in Chrome as well? or is VBA inherently better in working with IE? (Perhaps with SendKeys in Chrome?)

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

    i have tried to run your code the exact why you have it in video but when i get to the IE.Document.All("btnK").click i get an error stating that object doesn't support this property or method any ideas?

  • @IllegalHacker
    @IllegalHacker 5 ปีที่แล้ว

    what if the text fields are located in a pop up window? how to inspect the element? good job by the way

  • @Noble-Technologies
    @Noble-Technologies 2 ปีที่แล้ว

    Good Job, Better if it could also be in chrome

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  2 ปีที่แล้ว

      Hi Juzer, it can! You can use Chrome, Firefox, IE, Edge, and even an invisible browser using a free tool. More info here: excelvbaisfun.com/complete-web-automation-with-excel-vba/

  • @1marc1967
    @1marc1967 11 ปีที่แล้ว

    Thank you for another tutorial.

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

    Thank you!

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

    thank you for posting

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

      You're very welcome! Thanks for the comment!

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

    Thank you very much this helps a lot

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

    Thank you so much for sharing

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

    Excellent video my friend. The issue I am having specifically, is that the IE window I need to populate is a popup html window, and therefore, has no URL. I need to be able to do the same thing, using the Title of the html window instead of the URL. I am able to open, the Google Login page, and have it prefill my textboxes and submit. The real issue lies in that, the text boxes are in a popup window. Seems it would be easy enough, but not so much.

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

      Hmmm, ok i'll work on this. Wish I had an example to work with, thoughts?? Dan

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

      ExcelVbaIsFun It's hard for me to think of anything outside of the Service Desk software we use at work. What happens is, when we create a ticket, it opens in a popup form with several Textboxes on it. I am able to find the title of the htmlwindow, and the name of all of the Textboxes, but can't figure how to pass the variable (data in the cell) to the textbox by using the Title of the htmldoc. Check the link in the original message I sent you. If I come across any examples online, that I can supply you, I will most definitely send them your way. Thanks again.

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  11 ปีที่แล้ว +1

      yamuson08 I got your back. Found a solution. Will film and upload soon.

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

    How would I use this code to choose from a drop down list?

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

    Do you have the xls file to share?

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

    Dear Sir
    I have an excel spreadsheet with three column (A1=Employees names ,B1= Gross Salary , C1=Net Salary). I am looking for a code which automatically check employees name If employee name match than fill their gross salary and net salary.
    Please help me

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

    As you have written Createobject("InternetExplorer.Application") for opening in IE
    what should I write for google chrome

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

      vba works only for IE not for any other browser

    • @WM-eg4gh
      @WM-eg4gh 7 ปีที่แล้ว

      Not really true, but I understand why you said that.

  • @mepwnz1048
    @mepwnz1048 10 ปีที่แล้ว +2

    I cant get this to work... When I run the macro it stops at .document and says compile error: Invalid or unqualified reference. Everything I read online says to make sure your reference microsoft internet controls (shdocvw.dll). Well I did and its still not working. If found tones of other scripts to click a button but the pretty much all use .document and I have the same problem with all of them. Any ideas?

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

      not work can help me?

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

      we can work with hangout

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

      No I'm sorry I cant use hangout on my work computer

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

    This can be apply to access 2013?? How do i add the Fields

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

    Hello, i can't use it, it's keep telling "error 91"
    Help please!

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

    It loads the webpage and pastes the value A1 into the search box but does not click on button "btnk"

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

    Thank you.

  • @CarlosFernandez-nm5ng
    @CarlosFernandez-nm5ng 7 ปีที่แล้ว +1

    able to populate the search forum with my criteria...BUT..there is no click..thus click command is not functioning.
    HELP!!

    • @Shakespeare1612
      @Shakespeare1612 5 ปีที่แล้ว

      I am having the same problem. Maybe if we can find the name of the FORM that the button sits in and call it's "submit" event. Anyone find the name of the form?

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

    Great Video !
    Can someone give me a guide to how to build a macro with excel vba ? i dont know nothing about it .

    • @Shakespeare1612
      @Shakespeare1612 5 ปีที่แล้ว

      Just start an Excel workbook with VBA macros enabled. Then search for help on Macros. But, I must say, "This is not something to play with if you know nothing about it". Macros can be very powerful and dangerous. Start with beginner videos here on TH-cam, but better, if you have some money. Buy good book on Excel VBA, or take a course on Udemy, or Udacity.

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

    I get an error, 424 "Object required" but it only comes up every 10 runs but once i move the file to another computer it will happen every run. Any advice on how to solve? My code is borderline identical but mine fills in multiple text boxes in internet explorer:
    Line that flags:
    IE.Document.All("quote[origin]").Value = ThisWorkbook.Sheets("IO").Range("a1")

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

      Hi Carl,
      It could be that the element you're searching for is not yet loaded and may need to wait a second or two longer. Not sure exactly without testing of course.
      Have an amazing day!
      Thanks
      Dan

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

    what happens if ID and Name are the same when looking in inspect? this seems to be causing an error where I need to debug

  • @MykeMarvelous
    @MykeMarvelous 11 ปีที่แล้ว +1

    Excelent!!!!

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

    I know this video is very old, but I'm hoping someone will be able to answer me. This is exactly what I needed, however when I try to run it on a work computer I get the error: The object invoked has disconnected from its clients. Does anyone know how to fix this? I'm expected to have a program using this up and running asap

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

    beautiful

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

    can anyone pls tell me what are the other methods of Document object. because i want to search by different HTML tag(E.G. href, value etc)

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

    I am not sure why it is not working I have attempted this several times but the text does not show up when I run this macro, everything else seems to work fine but I do receive an error message: Automation error the object invoked has disconnected from its clients. any suggestions would be greatly appreciated

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

      You should make sure that you have internet explorer. And that you also have all the references. But it should work.

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

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

  • @longbeach.bradlydalmatian6130
    @longbeach.bradlydalmatian6130 6 ปีที่แล้ว

    Are used to program computers back in 1989 but I still can't login to a simple website today !I can't find anybody to help me I have plenty of money why is it very simple phone number I can call to get help with these issues

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

      I would start at www.coursecheap.com or www.udemy.com to learn pc basics, my friend!

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

    Had to us a "Sheet1" rather than "sheet1"

  • @اناادهمالركيبالركيب
    @اناادهمالركيبالركيب 7 ปีที่แล้ว

    124367790