Learn Excel - Video 598 - VBA - WEB SCRAPING - How to Login on website

Sdílet
Vložit
  • čas přidán 2. 08. 2024
  • In this video we are doing log-in on a website using excel vba . I am educating you how to inspect the rags and web elements for login on a webpage.
    Please see the below series information along-with links and join me in these world -class designed live classroom sessions. Bet. you will not be disappointed.
    POWERPIVOT WITH DAX - PART1/2 (New Launched)
    www.udemy.com/course/powerpiv...
    POWERPIVOT WITH DAX - PART2/2 (Just Launched)
    www.udemy.com/course/powerpiv...
    LEARN DAX IN POWERBI DESKTOP - Part 1/2
    www.udemy.com/course/learn-da...
    LEARN DAX IN POWERBI DESKTOP - Part 2/2
    www.udemy.com/course/learn-da...
    POWER BI -BASIC TO ADVANCE PART 1 / 2 (New Course)
    www.udemy.com/course/basic-to...
    POWER BI -BASIC TO ADVANCE PART 2 / 2 (New Course)
    www.udemy.com/course/basic-to...
    Excel Power Query
    www.udemy.com/course/excel-po...
    Excel Power Query M Code Programming - Part 1
    www.udemy.com/course/draft/26...
    Excel Power Query M Code Programming - Part 2
    www.udemy.com/course/powerque...
    Excel Power Query M Code Programming - Part 3
    www.udemy.com/course/powerque...
    • [Excel VBA Series Links are mentioned below - basic to super advance]
    Excel VBA Introduction Series 1
    www.udemy.com/excel-vba-mis-a...
    Excel VBA Loops and IF functions Sereis 2
    www.udemy.com/excel-vba-loops...
    Excel VBA Collection Loops and Workbook /Sheets handling Series 3
    www.udemy.com/excel-vba-colle...
    Excel VBA Super Strong Arrays Series 4
    www.udemy.com/excel-vba-super...
    Excel VBA Functions Series 5
    www.udemy.com/excel-vba-funct...
    Excel VBA File and Folder Handling Series 6
    www.udemy.com/learn-excel-vba...
    Excel VBA In depth UserForm Series 7
    www.udemy.com/excel-vba-in-de...
    Excel VBA error handler and Message box /input Box Series 8
    www.udemy.com/error-handlers-...
    Excel VBA Amazing and Phenomenal Events Series 9
    www.udemy.com/excel-vba-amazi...
    Excel VBA Awesome Pivots - Series 10
    www.udemy.com/excel-vba-aweso...
    Excel VBA Charts Series 11
    www.udemy.com/excel-vba-chart...
    Excel VBA Connecting Outlook Series 12
    www.udemy.com/excel-vba-conne...
    Excel VBA Connecting Powerpoint Series 13
    www.udemy.com/excel-vba-conne...
    Excel VBA Connecting MS Access - Series 14
    www.udemy.com/excel-vba-conne...
    Excel & Access VBA Dashboard and Projects - Series 15
    www.udemy.com/advance-excel-a...
    Web Scraping Using Excel VBA - Series 16
    www.udemy.com/draft/2540898/?...
    VBA Web Selenium Web Scraping Part 1/2
    www.udemy.com/course/vba-sele...
    VBA Web Selenium Web Scraping Part 2/2
    www.udemy.com/course/vba-sele...
    • [MS Access VBA Series]
    Access VBA Introduction Series 1
    www.udemy.com/access-vba-intr...
    Access VBA Arrays and Functions Series 2
    www.udemy.com/access-vba-arra...
    Access Userform and SQL Series 3
    www.udemy.com/access-vba-seri...
    Access VBA File Handling and Error Handlers Series4
    www.udemy.com/access-vba-file...
    Connection Set-Up AccessVBA & Security (ADODB &DAO Series-5)
    www.udemy.com/connection-stri...

Komentáře • 180

  • @subashavr9396
    @subashavr9396 Před 4 lety +2

    Bro this is an awesom video. It's really stunning and I m using this entire code as a part of my project.
    Thank you so much.

  • @enrikekasijas705
    @enrikekasijas705 Před 4 lety +9

    This is f*** insane xD I know almost nothing about VBA except Simple way of making macros but if this works....sick xD I need to study your channel.great explaining !!!!

  • @sonammishra2964
    @sonammishra2964 Před 4 lety +1

    U r my best teacher
    I am thankful to myself becoz of i found you

  • @germanduterte7110
    @germanduterte7110 Před 5 lety +1

    This is very helpful I really appreciate this.

  • @cmsteib8564
    @cmsteib8564 Před 5 lety +2

    Awesome video, thanks!

  • @supertotoro
    @supertotoro Před 3 lety

    Worked perfectly for me. Many thanks!

  • @amitbond1
    @amitbond1 Před 6 lety +1

    Superb...👌

  • @ayaanansari4765
    @ayaanansari4765 Před 5 lety +4

    Thank you for the video. I have watched many of your videos.
    Please make on video on downloading files from a website after doing login on that website, navigate through many pages and selecting date for which need to download.

  • @pablonji
    @pablonji Před 3 lety +1

    Excellent video!!!! I don't know how I didn't see it before !!! take your like (y)

  • @Summerofsam
    @Summerofsam Před 5 lety

    @6:09 My excel does this sometimes too, seemingly for no reason. Do you know why it prompts error messages like this out of the blue?

  • @meirelles77
    @meirelles77 Před 5 lety +1

    Very nice tutorial.

  • @keralakannapi2283
    @keralakannapi2283 Před 5 lety +1

    good vedio..helpfull

  • @vvcvillagersvoicecommunity9617

    Great Job

  • @Exceltrixx
    @Exceltrixx Před 5 lety

    I Have no words...thank you so much

  • @psenpai3375
    @psenpai3375 Před 4 měsíci

    Thanks Man. Been a follower to your channel for a long time. Love from Kolkata.

  • @parveenrohilla02
    @parveenrohilla02 Před 5 lety

    Hi ajay
    If we have sha256 encription on client side in password. Then what to do??
    TIA

  • @lhipad7372
    @lhipad7372 Před 4 lety

    hi, may I know is there anyway to get rid of "Missing credentials" error from web page while SCRAPING ?

  • @shiva11112
    @shiva11112 Před 5 lety

    Hi Ajay, i was working on few internet explorer automation where i wanted to grab an internet explorer which is already opened and do some manipulation on that. But i am getting an automation error whenever i am trying to do that. Please suggest on any possible solutions

  • @Raz0rtooth
    @Raz0rtooth Před 3 lety

    you are a true brotendo

  • @sumeetshikha
    @sumeetshikha Před 4 lety

    At last step of click to login, not able to find exact html tag shown in video. After clicking on Inspect element, html page opens highlighting
    below that other tags are coming which are not highlighted.

  • @antonyrinoy8996
    @antonyrinoy8996 Před 3 lety

    Can we automatically update data in an exel sheet from a table in a site which needs password login using this method?

  • @shaghayeghrabbanian609
    @shaghayeghrabbanian609 Před 4 lety +1

    Thank you! What should I do when my login button does not have name or id?

  • @maxdavenport6794
    @maxdavenport6794 Před 3 lety

    I'm getting "user-defined type not defined" what does this mean ? Also, once you've logged in to a website via this method, can you then scrape data from the website... how would this be done?

  • @MKMeena009
    @MKMeena009 Před 5 lety

    If Security code option is shown on login page then what while we do?

  • @drs10301
    @drs10301 Před 3 lety

    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

  • @MrAmitchirutkar
    @MrAmitchirutkar Před 6 lety

    hi sir , i have multiple record in excel can we upload same on website and should be click automatic submit button .

  • @zxc-xk6fb
    @zxc-xk6fb Před 4 lety

    What if there is a placeholder on the username and pw fields? How do we remove the placeholders and replace it with our username and password?

  • @jmtiwari5766
    @jmtiwari5766 Před 5 lety

    Tthis is really useful. If the re is any captcha to be entered, how to go to the box where captcha is to be entered ?

  • @unbelievabletalent
    @unbelievabletalent Před 4 lety

    Hi,
    Please help as I using ur code but doesn't Name and Id in there html document Input.

  • @kamranquliyev2296
    @kamranquliyev2296 Před 4 lety +1

    Dim idoc As MSHTML.HTMLdocument when i wrote this line , theree is an error . Compile error. User-defined type not defined

  • @thehalfknowledge
    @thehalfknowledge Před 4 lety +1

    Hey Ajay, Well Done!. I follow your instruction for google translation text is inserted and translated but I'm unable to copy the translated text because there is no ID, NAME elements how to copy the translated text, please tell me

  • @chidexxonyekwere9271
    @chidexxonyekwere9271 Před 2 lety

    Nice one boss I don’t mind to know you more

  • @vstop2176
    @vstop2176 Před 4 lety

    sir muje ek issue aa rah hay mare value put nahi ho rahi hay (services.gst.gov.in/services/login) ye web site per value put karke bataoo na sir plz req.

  • @vivekmahure88
    @vivekmahure88 Před 2 lety

    How to read and enter captcha along with login credentials... please help?

  • @autoacworks
    @autoacworks Před 5 lety

    hi, i have followed your excellent tutorial - how can i go to another page (automatically) after login is complete ..ex: I login to a website and then I want to go directly to my messages page

  • @fengfuxu4822
    @fengfuxu4822 Před 2 lety

    when I ran the macro, the Edge closed by itself immediately after being loaded. do not know why? it also showed an info bar on top""Microsoft Edge is being controlled by automated test"

  • @erangaaw2542
    @erangaaw2542 Před 6 lety +1

    Hi. Is there any method to copy data from a server application ( used in office day to day work) to an excel sheet? Example name , address field of a web based / server application which appears in the same place everyday.

  • @VipinKumar-dz2jn
    @VipinKumar-dz2jn Před 2 lety

    Excellent video it help me a lot.
    Just have a query I have login a website where I have to track the invoice no. Status on website and save the details in pdf with invoice no. Name
    I'm stuck in to save the web page in pdf with invoice no.
    Please suggest what is the code should I refer.

  • @bharadwajs2836
    @bharadwajs2836 Před 3 lety

    @ajay I have a task Where in I have to login into website and post login click on different options

  • @audrianherdy8644
    @audrianherdy8644 Před 4 lety +1

    when i inspect element in login button there is no id

  • @tpdakc7904
    @tpdakc7904 Před 4 lety +3

    "Runtime error '430' class does not support Automation or does not support expected interface"???

    • @varunbhardwaj8571
      @varunbhardwaj8571 Před 3 lety +1

      I also have the same problem. did you get any solution?

  • @hrravihosur
    @hrravihosur Před 4 lety

    Hi Ajay, Thanks for your tutorials. Could you please explain about the validation of the user credentials ?

  • @N0tAFed
    @N0tAFed Před rokem

    The input name for the login has $s in it which the VBA code doesn't seem to like. I tried changing them to underscores, but it the just fills the webpage username field with "undefined". What should I do?

    • @AjayKumarparmar
      @AjayKumarparmar  Před rokem

      Share your code here or Gmail ajayk3802@gmail.com. I have to see code

  • @geovaniaraujo0515
    @geovaniaraujo0515 Před 4 lety +2

    Run time error
    automation error
    Unspecified error
    [Set idoc = i.document]
    Help-me pls
    I'm from brazil

  • @mariuszkomenda3355
    @mariuszkomenda3355 Před 4 lety

    I need like this , but I'm looking for VBA code from Access

  • @krish2519
    @krish2519 Před 6 lety

    Hi Ajay... thank you for your videos and I'm interested to watch your videos regularly. When you are uploading a series of videos about a specific topic. Its better don't repeat same basics again again in every video.

    • @AjayKumarparmar
      @AjayKumarparmar  Před 6 lety

      Point noted.. Won't be repeated

    • @ManishAnand1365
      @ManishAnand1365 Před rokem +1

      @@AjayKumarparmar Sometimes we come to find solutions for one specific task. Hence, it's a good thing you explain. Thanks for that. Keep doing.

  • @devendrasingh521
    @devendrasingh521 Před 3 lety

    How can we automat Edge without selenium

  • @supreetsidhu4732
    @supreetsidhu4732 Před 5 lety

    How to do this in Firefox?please help

  • @beautymahajan
    @beautymahajan Před rokem

    Hey really there was a lot to learn as u go step by step. Can u create a video to create the same using Firefox browser?

  • @akanshitachatterjee754

    Can you show this for Google chrome instead of IE?

  • @skymatrix554
    @skymatrix554 Před 4 lety

    How to write the tag is input for login process, how to write search bar in Amazon

  • @JonerCVega
    @JonerCVega Před 2 lety

    It's Wondefull, thank you for your videos, It's posible change to Navigator, for example chrome, edge???

  • @patidarramesh5298
    @patidarramesh5298 Před 5 lety

    sir i try to file upload from web site using vba i fail much time..
    pls help..

  • @erickwang5850
    @erickwang5850 Před 2 lety

    Hello sir ,
    You have a really cool video,
    I managed to follow through all your step,
    how to get the data with query command with the vba?
    Thank you very much

    • @AjayKumarparmar
      @AjayKumarparmar  Před 2 lety

      Thank you... can you please elaborate

    • @erickwang5850
      @erickwang5850 Před 2 lety

      @@AjayKumarparmar First of all thank you reply my comment,, i really appreciate it,
      I have a set of table in the website that i need to connect with my excel power query,
      but i dont know how to actually perform it via vba,,
      as far as i understand, i need more code on the same command (with the log in) to connect or import the data to my excel sheet
      Please pardon for my bad english
      Thank you sir!!

    • @extremeautomationwithajayp2131
      @extremeautomationwithajayp2131 Před 2 lety

      @@erickwang5850 you can share website and what you want to scrape

    • @erickwang5850
      @erickwang5850 Před 2 lety

      @@extremeautomationwithajayp2131 i would love too but its a private company website so i cant share it, but i will come back with another close example,, thank you for replying to me , i really appreciate it and i'll definitely check your channel too

  • @AbhishekPatel-qe9xu
    @AbhishekPatel-qe9xu Před 5 lety

    I'm trying to click. A button on a web site but am unable to do so
    The HTML code is

  • @humbertomaturana2404
    @humbertomaturana2404 Před 4 lety

    Hi Ajay, Many thanks for your tutorial, very helpful. I was able to add the username and password in the website but I am getting "This field can not be left in blank" error on the username when the Submit processes. Any idea what could be happening?

  • @fakhrullnoor4102
    @fakhrullnoor4102 Před rokem

    Nice

  • @Funfreedomify
    @Funfreedomify Před 4 lety +1

    what if the button doesnt have ID or value what should i input

  • @fifa193
    @fifa193 Před rokem

    I used the code, but in ths website I want to access it has no effects, it set the username and password but then it doesn't access, I think it's related to the button, in fact the login button is not a "button" type, but a "submit" type, and there's also a Token I see in the code. So, what is the solution in this case with Token and "submit" button?
    Thanks

    • @AjayKumarparmar
      @AjayKumarparmar  Před rokem +1

      Check sumbit button must have a attribute like ID or name. You can use that. And if not then it must be a form tag. So you can use same

  • @VipinKumar-dz2jn
    @VipinKumar-dz2jn Před 4 lety

    How can go to any particular element in html page after login a website with username and password.

    • @AjayKumarparmar
      @AjayKumarparmar  Před 4 lety

      For in depth knowledge you can purchase webscraping course from website

  • @vishalpanchal9425
    @vishalpanchal9425 Před 5 lety

    How to choose any option from a drop down menu on a webpage using vba. Pls help

  • @panjabirang4814
    @panjabirang4814 Před rokem

    Hello sir i need you help to do same same task of many excel data. I mean i want to repeat same task for all disfrent id in excel sheet1. Ho how can i do this

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi Před 4 lety

    Hi Sir, How can we download files using URL, pls make video on same..

  • @rajputshivambhai2518
    @rajputshivambhai2518 Před 3 lety

    error 438 on gst login portal
    help

  • @ashrafanwar7835
    @ashrafanwar7835 Před 6 lety

    Hello, Love from you neighbor Pakistan. Have learned a lot from you. Thank you for teaching us. I want to know further is their possible way to use Microsoft Edge or Google Chrome instead of it? if yes please let me know (It would be appreciated too if you will make a video for it) or either please reply me back thanks

    • @AjayKumarparmar
      @AjayKumarparmar  Před 6 lety

      I will check on this. Thanks for the compliment

    • @aaronb.7751
      @aaronb.7751 Před 2 lety

      @@AjayKumarparmar hi, I was wondering if you ever figured out how to do this with Chrome or Edge instead of Internet Explorer? Thank you - you have great content.

    • @AjayKumarparmar
      @AjayKumarparmar  Před 2 lety +1

      @@aaronb.7751 you have to use vba selenium for that.

    • @aaronb.7751
      @aaronb.7751 Před 2 lety

      @@AjayKumarparmar thank you!!

  • @geovaniaraujo0515
    @geovaniaraujo0515 Před 4 lety

    the remote serve machine does not exist or is unavailable

  • @systemcerdas3540
    @systemcerdas3540 Před 5 lety

    how to change browser internet explorer with chrome?

  • @damanpreet1131
    @damanpreet1131 Před 5 lety

    Sir if we have list of username and password then how to login into same website and save time..

  • @Abhishekyadav-mo6py
    @Abhishekyadav-mo6py Před 4 lety

    thank you for making this video
    sir I want to know can we use another element instead of I'd in button case for clicking the button

    • @bentoazevedo1484
      @bentoazevedo1484 Před 4 lety

      I don't know if we can use another element, but i use sendkeys "{enter}" and it works because the button has the focus.

  • @rajanjha2392
    @rajanjha2392 Před 2 lety

    How to further go into the website which has drop down options? Can you pls help on this...? Thanks for such a nice video. Thanks in advance..

  • @harvinder238
    @harvinder238 Před 4 lety

    I'm have issue at Set idoc = i.Document & I'm getting this msg "Automation error" & "Unspecified error" . Plz help me Ajay

    • @AjayKumarparmar
      @AjayKumarparmar  Před 4 lety +2

      Means website not loaded yet and VBA looking for it's document. Use do while not ready loop

  • @danelswick9886
    @danelswick9886 Před 8 měsíci

    I know this video is 5 years old but very good.
    How do we compensate that Internet Explorer has been replaced with Microsoft Edge.
    Also as asked prior what if the button inspection shows no ID only "class"
    Would love to move this to Chrome, but I'm just too old and retired to learn selenium

  • @youknowme6780
    @youknowme6780 Před rokem

    I am working on a vba to fill web form, it works on first IE page and submit the form, but when a new page loads with different web address, my code don't recognize the active web page...to keep on filling this page data from excel...Any advice??? No selenium used

  • @casimirouamusse9022
    @casimirouamusse9022 Před 2 lety

    Não sou bom a inglês, No entanto este vídeo é muito didático simples e útil. Parabéns.
    Produza um outro mas usando outros navegadores como Firefox, Chrome ou Edge. Aguardo por si

  • @saleemmalik84
    @saleemmalik84 Před 4 lety

    Hi, I'm getting run-time error 462 remote server machine does not exist or is unavailable, at set idoc = i.document

    • @AjayKumarparmar
      @AjayKumarparmar  Před 4 lety

      Use loop.. Till site doesn't load it keeps looping

    • @saleemmalik84
      @saleemmalik84 Před 4 lety

      @@AjayKumarparmar on loop also giving the same error

    • @skinscapsfan
      @skinscapsfan Před 4 lety

      I had to make 2 changes to avoid 2 separate errors when I tried this. First, change the line "set i = New InternetExplorer" to "set i = New InternetExplorerMedium" (per StackExchange article 12965032). I also had to change the loop to:
      Do Until IE.ReadyState = READYSTATE_COMPLETE
      DoEvents
      Loop

  • @pinkeishz9106
    @pinkeishz9106 Před 6 lety

    Hello Sir, Great video 👍
    I'm facing error on do while ...
    Error message: Automation error
    The object invoked has disconnected from its clients.
    Could you please help?

    • @pinkeishz9106
      @pinkeishz9106 Před 6 lety

      Ajay Kumar Sir, some help here?

    • @pinkeishz9106
      @pinkeishz9106 Před 6 lety

      My ele is blank hence it is not looping through...
      For each ele in eles

  • @gunwantsingh1698
    @gunwantsingh1698 Před 5 lety

    Hi Ajay first of all thanks for this. Can i used this macro with google crome means i want open my web page in google crome .please revert its realy helpfull for me

    • @AjayKumarparmar
      @AjayKumarparmar  Před 5 lety

      Use selenium in vba then...

    • @gunwantsingh1698
      @gunwantsingh1698 Před 5 lety

      @@AjayKumarparmar thanks for ur revert but ajay i dont know about selenium please guide me with proper instructions please

    • @AjayKumarparmar
      @AjayKumarparmar  Před 5 lety

      Selenium is a web testing software but if you know this language you can use it in excel vba also to launch Google Chrome explorer. You can search on Google to know more about it.

    • @gunwantsingh1698
      @gunwantsingh1698 Před 5 lety +1

      @@AjayKumarparmar ok ajay thanks but i request you please make one video on this if possible...

  • @Naresh13Kumar
    @Naresh13Kumar Před 6 lety

    Hi Ajay - I need assistance on webpage scrapping. This is tha scenario. I have to update a information for the users and need to give save in website I done VBA everything till updating the information. But here I face one issue that after giving save page displays with tha alert box which only have ok option to click I tried different types I'm not able to get the idea to click this alert box. Can you please help? With the code.

    • @AjayKumarparmar
      @AjayKumarparmar  Před 6 lety

      What you did so far send me. I will look into it and see if I can answer it

    • @Naresh13Kumar
      @Naresh13Kumar Před 6 lety

      Ajay Kumar can I have Ur mail id to forward tha documents

    • @Naresh13Kumar
      @Naresh13Kumar Před 6 lety

      Hi I have mailed u the documents can you please look in to that and can you please assist me

  • @abdul2000sg
    @abdul2000sg Před 2 lety

    Hi Ajay, can show how to handle check box in VBA

  • @peterkasonge7751
    @peterkasonge7751 Před 2 lety

    bro I like this video. but i have a problem to use hyper links. if I inspect a button element it give me the following html code .please help me on how to work with this sort of reference. . there is nothing like input type , id or name. so please help.

    • @AjayKumarparmar
      @AjayKumarparmar  Před 2 lety

      Use class attribute

    • @peterkasonge7751
      @peterkasonge7751 Před 2 lety

      @@AjayKumarparmar thanks Mr.

    • @peterkasonge7751
      @peterkasonge7751 Před 2 lety

      but I still have problem because there are three buttons with the same class name, the only there different is the href"/Main/DashBoard?grade=3" , href"/Main/DashBoard?grade=4" and href"/Main/DashBoard?grade=5"

  • @bgupta77
    @bgupta77 Před 6 lety

    video is nice but would request you to kindly change your keybord it makes lot of sound which distract the mind while working on it...

    • @AjayKumarparmar
      @AjayKumarparmar  Před 6 lety +2

      it gives a feel that you are having a live session. Many students love to have this sort of environment. When you see lecture feel like you are typing it and giving training, you will enjoy it.

  • @anishamalhotra6508
    @anishamalhotra6508 Před 3 lety

    run time error 462 the remote server machine dones not exist or is unavailable

  • @tylerjensen7922
    @tylerjensen7922 Před 4 lety

    Have any of you had the following errors?
    I watched the video and found it very helpful. I was able to use the code to log in to the desired website.
    My code was something like this:
    idoc.all.name1.value = "username"
    idoc.all.name2.value = "Password"
    idoc.all.name100_Login_Button.click
    I am now logged on the website my next line of the code is
    idoc.all.name3.value = "Search Criteria" which is for the search criteria and it doesn't work
    My excel doc doesn't upload search criteria but doesn't have an error.
    I was wondering if you have any of you have had this error or feedback that could help.
    Thanks!

  • @iAmStealty
    @iAmStealty Před 3 lety

    What if username like this user_name

  • @AnjanaNagpal-ej9by
    @AnjanaNagpal-ej9by Před 2 měsíci

    How to ask user to enter the items from a list in excel to search on a website

    • @AjayKumarparmar
      @AjayKumarparmar  Před 2 měsíci

      Use xpath attribute

    • @AnjanaNagpal-ej9by
      @AnjanaNagpal-ej9by Před 2 měsíci

      I m new to vba. Can u please provide code to automate searching datasheets for 100 components from a web site and filling data in excel sheet

  • @donovannewton9507
    @donovannewton9507 Před 11 měsíci

    So what do I do if my “log In” isn’t a button?
    When I inspect the input I have the following.
    == $0

    • @AjayKumarparmar
      @AjayKumarparmar  Před 11 měsíci

      Use name tag or ID tag

    • @donovannewton9507
      @donovannewton9507 Před 11 měsíci

      @@AjayKumarparmar thanks for that. It turned out the the element was an input not a button.
      Now im just trying to find out how to bring that into a table in excel. Thought there was a good option to use Power Query

    • @AjayKumarparmar
      @AjayKumarparmar  Před 11 měsíci +1

      @donovannewton9507 check vba selenium..you can use .
      Power query is fine if you can see tables but programming has a lot to offer. You can customize. www.ajayparmartutor.com is my website if you need webscraping course or others

  • @Mr300millz
    @Mr300millz Před 3 lety

    What if the button does not have an id

    • @Mr300millz
      @Mr300millz Před 3 lety

      Just tweaked the code
      Set eles = idoc.getElementsByClassName("btn btn-primary")
      For Each ele In eles

      If ele.Type = "submit" Then
      ele.Click
      Else
      End If
      Next ele

    • @AjayKumarparmar
      @AjayKumarparmar  Před 3 lety +2

      Use name attribute or class name

    • @chidexxonyekwere9271
      @chidexxonyekwere9271 Před 2 lety

      Good job sir I want to know you more sir

  • @vivekpachisia5198
    @vivekpachisia5198 Před 2 lety

    It is giving me an error on line Do While I READYSTATE_COMPLETE
    Please help Sir

    • @AjayKumarparmar
      @AjayKumarparmar  Před 2 lety

      I should be an object

    • @vivekpachisia5198
      @vivekpachisia5198 Před 2 lety

      Shall we set I as an object. But it is set as new internet's poorer
      How to resolve it?

    • @vivekpachisia5198
      @vivekpachisia5198 Před 2 lety

      Correction New internetexplorer

    • @vivekpachisia5198
      @vivekpachisia5198 Před 2 lety

      Error I am getting is
      Run time error -2147417848
      Automation error
      The object invoked has disconnected from it's clients

  • @parthokundu2578
    @parthokundu2578 Před 3 lety

    How to use colon ":" in controls example .....refer last statement
    Dim idoc As MSHTML.HTMLDocument
    Set idoc = i.document
    idoc.all.loginForm:username12.Value = "XXXXX"

  • @himmatsingh5350
    @himmatsingh5350 Před 3 lety

    this code is only opening web page , not filling user details...i copied same your code

    • @AjayKumarparmar
      @AjayKumarparmar  Před 3 lety

      Different webpages behave differently many times..try send keys

  • @seepanmol554
    @seepanmol554 Před 4 lety

    Brother error is Debug Username password. Let me send you elements of the username password and button,
    -------------------
    -------------------
    Log In
    -------------------
    Please let me know what should i put . i want to import this side to my excel. And wants to see all changes every minute while refreshing my excel

  • @ranjitprakash1986
    @ranjitprakash1986 Před 3 lety

    How to destroy a keyboard while making a tutorial video ;)

  • @James.Brooke
    @James.Brooke Před 4 lety

    Superb 👏🏻👌🏻👍🏻

  • @chandankumar-np9ez
    @chandankumar-np9ez Před 5 lety +4

    Thank you for the video. I have watched many of your videos.
    Please make on video on downloading files from a website after doing login on that website, navigate through many pages and selecting date for which need to download.

    • @aashraynalawade
      @aashraynalawade Před 4 lety

      Yes please do this....it's much needed to avoid lot of time. If this is done, people will get little time to spend with family instead of slogging in office just to login on the website navigate through pages n download the specific file.

    • @salmansabir2644
      @salmansabir2644 Před 3 lety

      @@aashraynalawade I want the same thing

  • @makaniharesh1459
    @makaniharesh1459 Před 3 lety

    Sirji services.gst.gov.in/services/login par ye work nahi karta .wi u plz help