Excel VBA Introduction Part 47.1 - Browsing to Websites and Scraping a Web Page

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024

Комментарии • 494

  • @evangelinecheng3171
    @evangelinecheng3171 7 лет назад +53

    Just what I needed. You, sir, give the best videos on VBA and are awesome.

  • @MichaelLass
    @MichaelLass 5 лет назад +3

    I have to say, this has been the best video I have watched on scraping. Very well explained.

    • @WiseOwlTutorials
      @WiseOwlTutorials  5 лет назад +1

      Thanks Michael, happy to hear you found it useful and thanks for watching!

  • @maurocastagnera8949
    @maurocastagnera8949 6 лет назад +19

    Andrew Gould = Genius!
    No other words are needed!

  • @oyeanurag
    @oyeanurag 6 лет назад +12

    You are an amazing teacher. I wanted to get currency rates onto my excel sheet, and you are sent to me by God. You have explained it in exquisite detail. Even a child can follow.

  • @lekshey861
    @lekshey861 6 лет назад +2

    Watched many vba videos from other tutors but not so informative, constructive and logical as yours. There is saying in English... knowledge itself is of no value, it's the use of it that makes it valuable, you are simply genius!! kudos !!!

  • @Mekinhumbel
    @Mekinhumbel 6 лет назад +5

    Just an amazing series, crystal-clear explanation, lots of hands-on experience, and perfect pacing--bravo, and thanks for this!

  • @mShykot
    @mShykot 5 лет назад +1

    IT took almost a week to finish this whole video step by step. Thanks a lot. You clarified everything in a very clear way. Thanks a lot. Thanks for your clear accent and your bright coding sense.

    • @WiseOwlTutorials
      @WiseOwlTutorials  5 лет назад +1

      Thanks, Fahad! Happy to hear that you found the video useful and well done on getting to the end!

  • @faichieerr
    @faichieerr 6 лет назад

    Waw, i am 30 years old and use youtube for quiet a while; such a helpful video never came across my path. You sir just rock many cheers for your help

  • @enzym2004
    @enzym2004 5 лет назад +1

    By far the best video tutorial regarding web scraping with VBA!

  • @craisin1
    @craisin1 5 лет назад +1

    You are a great presenter! One of the best I have viewed on the Internet....keep up this great work.

  • @carlos_casio
    @carlos_casio 5 лет назад

    Even though I know a lot about VBA on Excel itself, I never tried Web Scraping before. I started reading some documentation on the Internet about it and tried to automate some few things at my job, but I couldn't quite get the results I wanted, mostly because my lack of knowledge on HTML code and VBA procedures for this. After 30 minutes of this video I accomplished everything I needed without many problems. I finished the video and I'm a fan of yours already. Thank you and I will be watching your other tutorials that I'm sure they're worth it.

    • @WiseOwlTutorials
      @WiseOwlTutorials  5 лет назад

      That's great Carlos! So happy to hear that the video helped you to achieve your aim. Many thanks for watching and for taking the time to leave a comment!

    • @carlos_casio
      @carlos_casio 5 лет назад

      @@WiseOwlTutorials Thank you for your kind answer! I have a question... Is this site possible to Automate? srienlinea.sri.gob.ec/sri-en-linea/#/SriRucWeb/ConsultaRuc/Consultas/consultaRuc
      Because I would like to type a lot of "RUC" Numbers and first of all, is not compatible with Internet Explorer and secondly, I don't see any queries going on, it just loads like the interior part of the window with information. Do you have any video with a webpage alike or somewhere I could read about it? Thank you again!

  • @gokik9080
    @gokik9080 7 лет назад +1

    I have never encountered any VBA tutorial video of this amazing quality! I was able to follow easily and do what I wanted. Thank you so much for creating this video and I will be learning from you more from now on.

  • @AbidHasan-m1f
    @AbidHasan-m1f Год назад +1

    Loved your contents, Highly professional and Informative!

  • @donbogdala5428
    @donbogdala5428 7 лет назад

    Andrew, I'm as happy as a little boy on his birthday with this tutorial! I'm going to have some fun with this code!

  • @paspuggie48
    @paspuggie48 5 лет назад

    This is a brilliant video tutorial ! Concise, explanatory and well presented....well done ! I wish I had found this video 2 years ago when I started self-learning how to scrape websites. I have struggled in all that time...now, I hope to take some of these tips to good use.

    • @paspuggie48
      @paspuggie48 5 лет назад

      @@WiseOwlTutorials if you are not confident, then what does that make me ha ha ! I have used my existing basic skills to create a website auto-login tool. You see, at my work place there are thousands of people who have unique Usernames & Passwords for over 10 different sites they have to log into. This is very very time consuming, not forgetting where they store their personal data. So I developed a tool that automates this process using similar coding. Currently, the estimated savings run into multi-millions, using such a simple approach. I am struggling with some coding problems though, I don't suppose you provide 1-2-1 advice by any chance?

  • @doyouknowaboutthis6806
    @doyouknowaboutthis6806 6 лет назад

    Best teacher of VBA, thanks for amazing tutorial series.

  • @jk501111
    @jk501111 Год назад +1

    I love you WiseOwlTutorials!

  • @breopardo6691
    @breopardo6691 6 лет назад

    I have been long time dealing with scraping websites. I have learned on my own but this video is awesome because it put all the ideas I had together and perfectly consistent. Thank you a lot for this video, it is extreme helpful.

  • @masterofnone8443
    @masterofnone8443 6 лет назад

    I have no more words..... how fast and best way to explain

  • @BesiriWine
    @BesiriWine 3 года назад +1

    Thank you for this ever so helpful information, perhaps you need to enter an "organised thinking" contest !!!

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад

      Thank you Dimitris! I had not heard of an organised thinking contest but I just Googled them and I am now going to waste hours trying to complete the questions!

  • @KLiCuk1
    @KLiCuk1 3 года назад +1

    Easily the best VBA course on RUclips. Thanks for this. I noticed that the intelliSence for HTMLInput (24:28) doesn't suggest value as a property. When I tried without .Value it gives a runtime error. It's the sort of annoying 'feature' that can waste hours trying to debug !

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад +1

      Thanks! And agreed on the point about IntelliSense. It's caused by declaring the variables using the generic IHTMLElement interface. If we know the type of HTML element the variable will reference we can use the specific class to get more help from the IntelliSense. So, rather than using these variables:
      Dim IE As New SHDocVw.InternetExplorer
      Dim HTMLDoc As MSHTML.HTMLDocument
      Dim HTMLInput As MSHTML.IHTMLElement
      Dim HTMLButtons As MSHTML.IHTMLElementCollection
      Dim HTMLButton As MSHTML.IHTMLElement
      We can use these:
      Dim IE As New SHDocVw.InternetExplorer
      Dim HTMLDoc As MSHTML.HTMLDocument
      Dim HTMLInput As MSHTML.HTMLInputElement
      Dim HTMLButtons As MSHTML.IHTMLElementCollection
      Dim HTMLButton As MSHTML.HTMLButtonElement
      We'll then get more help from the IntelliSense when referencing the Input and the Button objects. Of course, the IHTMLElement interface is still useful as you can't always predict what type of HTML element you're going to encounter, particularly when looping over the children of a parent element.
      Hope that helps!

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад

      If you were still interested in Selenium... ruclips.net/video/FoxWcvZzYVk/видео.html

    • @KLiCuk1
      @KLiCuk1 3 года назад +1

      @@WiseOwlTutorials hey thank you 🙏 I thought it was a bit cheeky to ask and I’m still having ago at your xml videos. These are golden. 👍

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад +1

      @@KLiCuk1 😀 it's never cheeky to ask, it was just a happy coincidence that I was preparing the exact thing you were asking for!

  • @smacmcnaron
    @smacmcnaron 7 лет назад

    Wow - this is great material. I've already learned so much and I'm only 1/2 way finished. I am working my own script while I watch. Thank you for putting this together and providing great explanations of the why behind what you are doing.

  • @皮皮-e1e
    @皮皮-e1e 7 лет назад

    U r a life saver! This is the best VBA tutorial that ever had !

  • @AnmolKumar-jl3og
    @AnmolKumar-jl3og 3 года назад +1

    Happy Teacher's Day to you sir. You are awesome.

  • @SpaghettiCode5
    @SpaghettiCode5 3 года назад +1

    It would be easy to get high grades in college if all professors are like Andrew Gould. He even created Flappy Owl in Excel-a Flappy Bird-inspired game. Although Excel-based games are not entirely a new concept but being able to do that is very impressive..

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад +1

      Thanks! I love the user name!

    • @SpaghettiCode5
      @SpaghettiCode5 3 года назад +1

      @@WiseOwlTutorials This is the video that got me into VBA programming and made me understand how this works when I watched this around 2016 or 2017. Prior to this, I really wanted to learn how to do this but I don't know where to start until I found this. So, thank you for doing these videos. I really love your content-Fast-paced, concise, and lots of real world examples; and because you put an extremely high standard in terms of video tutorials, the DOWNSIDE is I can't even watch other tutorials now, other than WiseOwl tutorials, without moving the slider way farther, almost near the end because I want to finish it immediately but with your tutorials my face is fixated near my screen from start to finish because I don't want to miss anything..

    • @SpaghettiCode5
      @SpaghettiCode5 3 года назад

      @@WiseOwlTutorials I'd like to support you guys in any way I can. So, I'd like to purchase one "Intro to Excel VBA" book. Do you happen to have an e-Book version of it? I know you have a paper back version of it but logistics would be a pain for me because I don't live in the UK, I live in the Philippines..

    • @SpaghettiCode5
      @SpaghettiCode5 3 года назад

      @@WiseOwlTutorials I hope in the future, you can make C language tutorial using Visual Studio. It's not Microsoft, so if it's not possible, VB.Net using VS would be great, too. I downloaded VS Community but I'm lost, I don't know where to start. I know you have C# with VS, but that's in my bucket list for now..

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад +1

      @@SpaghettiCode5 I'm very happy to hear that the videos have helped you so much and I really appreciate you taking the time to write these comments, thank you so much!

  • @michaelmoralez8869
    @michaelmoralez8869 4 года назад

    Thank goodness I found this. I hate doing the charlie work, and this is my saving grace to taking the lazy way out.

  • @govindpreetsingh4329
    @govindpreetsingh4329 5 лет назад

    Dear i sincerely like to appreciate your teaching skills, each video of your is so informative and you have made it simple to understand.

  • @reajenthomas4601
    @reajenthomas4601 6 месяцев назад +1

    You are amazing! WiseOwnTutorial - Thanks for the tutorial

  • @yogeshwarpe
    @yogeshwarpe 5 лет назад

    First of all thank you very much!!! for the in depth knowledge on this section which made our life so easy with doing tedious tasks while working. Secondly we gained helpful knowledge on getting bots deployed at work for us :-)
    You're awesome Sir!!!!

  • @TheBabarazzi
    @TheBabarazzi 6 лет назад

    Started learning VBA yesterday, so Im really poor. But you did an awesome job!!! Thank you!!

  • @prakashrawat2015
    @prakashrawat2015 7 лет назад +3

    You are awesome, I have learned mant things following your videos, they are very very easy to understand,

  • @yurukthedeveloper6234
    @yurukthedeveloper6234 2 года назад +1

    Very clear and simple presentation, thank you!

  • @ElonMuchen3737
    @ElonMuchen3737 6 лет назад

    Mr Andrew, you did a nice work there. Your videos have an invaluable source of information.

  • @nathangreen9239
    @nathangreen9239 7 лет назад

    This is incredibly informative and very well presented. Thank you Andrew Gould for such a great video!

  • @charlesabraham7171
    @charlesabraham7171 4 года назад +1

    Excellent tutorial. Thanks

  • @data-science-ai
    @data-science-ai 7 лет назад

    Amazing, the teaching style, the content, truly amazing. Thank you.

  • @byteseq
    @byteseq 7 лет назад

    Very detailed and easy to follow tutorial. Top quality!

  • @FukSN
    @FukSN 3 года назад +1

    As usual, superb 👍

  • @elnurshabanov1608
    @elnurshabanov1608 5 лет назад

    Your explanation is superbly detailed!

  • @Adom360
    @Adom360 6 лет назад +1

    Your way of loading website can sometimes stuck, I recommend to use for it:
    "Do While IE1.Busy
    Application.Wait DateAdd("s", 1, Now)
    Loop"
    Also you should add in the end IE.Quit.

  • @germanduterte7110
    @germanduterte7110 5 лет назад +1

    This was truely amazing demonstration

  • @subinsasidharan9695
    @subinsasidharan9695 3 года назад +1

    Still relevant in 2020-21

  • @christophmeirich5928
    @christophmeirich5928 3 года назад +1

    Awsome!!! Thx a lot!!!! It's so helpfull!!!! Greetings from germany Christoph 👏👏👏👏👏

  • @TonyDiaz.
    @TonyDiaz. 7 лет назад +3

    Exactly what I needed friend!! Damn, this is some awesome stuff!
    Thanks as always...!

  • @jkhdfkjashdfk
    @jkhdfkjashdfk 2 года назад

    I came here as newbie looking for how to pull specific data from the internet. This tutorial assumes you already possess a lot of knowledge I certainly do not possess.

  • @rdettmam
    @rdettmam 4 года назад +1

    Fantastic Video!!!! You are the best!

  • @abhayjitthind6420
    @abhayjitthind6420 6 лет назад

    Great Tutorial. Proper organisation and perfect execution.

  • @JoergB
    @JoergB 6 лет назад

    Very competent explained. For me as a german with medium english know how it is well understandable! THANKS!

  • @federicomuria8377
    @federicomuria8377 3 года назад +1

    Great Tutorial!!! Just on point!!!

  • @alfredtolaget9101
    @alfredtolaget9101 4 года назад +1

    Thank you so much. I needed this information to help me out on my project.

  • @user-sn5nm5rm3v
    @user-sn5nm5rm3v 3 года назад

    Hi. Thank you for your introduction to web scrapping. It was extremely helpful in my own project where I have downloaded historical prices and dividends from two different pages and combined them to single query. The only problem I didn't managed to resolve is to how append master table with new pieces of information from additional queries. As excel allow me only to append to queries and save result as a new one I was ought to save new master and delete the old one after checking for accuracy of new information.
    By the way I can share my results somehow to you if you are interested.

  • @wasimdingankar3599
    @wasimdingankar3599 7 лет назад +13

    father for vba excel------------->Andrew Gould
    thank sir

    • @wasimdingankar3599
      @wasimdingankar3599 7 лет назад

      Hello Sir,
      i am trying to capture amazon prices using following code , but it isn't get worked, could u please give me any suggestion or hints for this - thanks
      Sub amazonprices()
      Dim xmlpage As New MSXML2.XMLHTTP60
      Dim htmldoc As New MSHTML.HTMLDocument
      Dim htmltables As MSHTML.IHTMLElementCollection
      Dim htmltable As MSHTML.IHTMLElement
      Dim rowhtml As MSHTML.IHTMLElement
      Dim cellhtml As MSHTML.IHTMLElement
      Dim spanhtml As MSHTML.IHTMLElement
      xmlpage.Open "get", "www.amazon.in/dp/B01LZ8O3JZ?psc=1", False
      xmlpage.send
      htmldoc.body.innerHTML = xmlpage.responseText
      Set htmltables = htmldoc.getElementsByTagName("table")
      For Each htmltable In htmltables
      For Each rowhtml In htmltable.getElementsByTagName("tr")
      For Each cellhtml In htmltable.getElementsByTagName("td")
      For Each spanhtml In htmltable.getElementsByTagName("span")
      Debug.Print spanhtml.innerText
      Next
      Debug.Print cellhtml.innerText
      Next
      Debug.Print rowhtml.innerText
      Next
      Debug.Print htmltable.className
      Next
      End Sub

    • @wasimdingankar3599
      @wasimdingankar3599 7 лет назад

      thank u sir for active response i mean it does not return the results(price of product)

    • @wasimdingankar3599
      @wasimdingankar3599 7 лет назад

      Ur response to our query and other question that really makes you really
      so special. I really like to work our on your suggestion and really
      eager to share outcome - stay blessed and healthy

    • @wasimdingankar3599
      @wasimdingankar3599 7 лет назад

      Hello Sir i worked as per ur suggestion but still not able
      to get desire result could you please help me with below one thanks
      Dim htmldoc As New MSHTML.HTMLDocument
      Dim htmltables As MSHTML.IHTMLElementCollection
      Dim htmltable As MSHTML.IHTMLElement
      Dim rowhtml As MSHTML.IHTMLElement
      Dim cellhtml As MSHTML.IHTMLElement
      Dim spanhtml As MSHTML.IHTMLElement
      xmlpage.Open "get",
      "www.amazon.in/Campus-Sutra-Varsity-Sweatshirt-Pocket/dp/B013HP8XOE/ref=br_asw_pdt-4?pf_rd_m=A1VBAL9TL5WCBF&pf_rd_s=&pf_rd_r=FJFNB5DQH0Z8RA01A1JM&pf_rd_t=36701&pf_rd_p=ee232f31-b795-49ad-895e-336733526c66&pf_rd_i=desktop",
      False
      xmlpage.send
      htmldoc.body.innerHTML = xmlpage.responseText
      Set htmltables = htmldoc.getElementsByTagName("table")
      For Each htmltable In htmltables
      For Each rowhtml In htmltable.getElementsByTagName("tr")
      For Each cellhtml In htmltable.getElementsByTagName("td")
      ' For Each spanhtml In htmltable.getElementsByTagName("span")
      ' Debug.Print spanhtml.innerText
      ' Next
      ' Debug.Print cellhtml.innerText
      Range("a1").Value = cellhtml.innerText
      Next
      ' Debug.Print rowhtml.innerText
      Range("b1").Value = rowhtml.innerText
      Next
      'Debug.Print htmltable.className
      Range("c1").Value = htmltable.innerText
      Next
      End Sub

    • @wasimdingankar3599
      @wasimdingankar3599 7 лет назад +1

      thank us so much sir, ur given sugestion really works may Allah bless u for ur noble work in teaching, if i get a chance to come UK i really like to have handshake with u

  • @SebAnt
    @SebAnt 4 года назад

    What a fantastic and useful tutorial. Very well explained step by step. I love it!

  • @justynab.7667
    @justynab.7667 2 года назад

    Thank you so much! That's exactly what I was looking for 🙂

  • @harishparmar4160
    @harishparmar4160 Год назад +1

    Excellent.....Tons of Thanks....

  • @kashifkhanspecial
    @kashifkhanspecial 7 лет назад

    Hi Andrew,
    Thank you so much for this knowledgeable video tutorial about scraping a web page through Excel VBA, could you please post a tutorial about, how can we manipulate, extract or put information in “Frames” in a web page, and how can we click on JavaScript button, that is calling a JavaScript function.
    Kindly request to you, please post a video tutorial about above queries that would be really helpful.
    Thanks, once again for this lovely tutorial

  • @mohammedhashim962
    @mohammedhashim962 2 года назад +1

    Thank you so much! Great tutorial

  • @setukansara
    @setukansara 7 лет назад

    Awesome, we can do exact same thing without spending too much money on QTP/UFT. Thank you so very much. :)
    Eager to watch 48 asap.

  • @justincortes2221
    @justincortes2221 5 лет назад

    I've been looking everywhere for this

  • @MaheshKumar-qb5rg
    @MaheshKumar-qb5rg 5 лет назад +1

    Wow.. what a video, Awesome Sir

  • @johnjenkins1489
    @johnjenkins1489 7 лет назад

    Very useful and clear explanation. Great work

  • @ileska7828
    @ileska7828 3 года назад +1

    Thanks a lot, you helped me so freaking much!!

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад

      You're very welcome, happy to help! Just in case it helps more, we added a few videos on using Google Chrome for web scraping in VBA - you can see them from Part 57.1 in this playlist ruclips.net/p/PLNIs-AWhQzcl3xKvF8sVL4sWRWICj_clM

  • @bijitsut3894
    @bijitsut3894 4 года назад +1

    Thank you so much for the tutorial ( Love from INDIA)

  • @marcq877
    @marcq877 3 года назад +1

    Hi Andrew,
    I love your tutorials. So clear and well prepared.
    However I am struggling with a task I have been asked to perform.
    The web page I need to scrape is from the South Australian Country Fire Services.
    I have to retrieve the fire ban and fire danger rating from provided locations.
    When I inspect the elements, they are all set as tags with no names:
    High
    I need to extract the "High" value of this div.
    This div is nested in 4 other divs:
    1.
    2.
    3.
    4.
    5. Hight -- this is the one I need to extract
    I did not see any references to the div tags and how to manipulate them. Any chance you can help me?
    Thank you

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад +1

      Hi Marc! You have something even better than a name, you have the unique ID of each element. Here's a bit of sample code which will get the fire data rating for Adelaide Metropolitan:
      Private ch As Selenium.ChromeDriver
      Sub GetFireData()
      Dim FbcLevelInfo As Selenium.WebElement
      Set ch = New Selenium.ChromeDriver

      ch.Start
      ch.Get _
      "www.cfs.sa.gov.au/custom/control/fireBan/public.jsp?f_display=day1&f_districtId=1&TB_=true&height=500&width=870"

      Set FbcLevelInfo = ch.FindElementById("fbc_level_info")

      Debug.Print FbcLevelInfo.Text

      End Sub
      I think you'll find this sort of thing much easier using Selenium for VBA which allows you to work with Google Chrome and other browsers. I added a bunch of videos on how to work with Selenium recently, starting with this one:
      ruclips.net/video/FoxWcvZzYVk/видео.html
      And you can find the other videos towards the end of this playlist:
      ruclips.net/p/PLNIs-AWhQzcl3xKvF8sVL4sWRWICj_clM
      Hope it helps!

  • @haroldmcbroom7807
    @haroldmcbroom7807 7 лет назад

    Thanks.. Great video... was very helpful, will still take me some time to master this concept of Internet Objects, and HTML Classes, two things I'm not familiar with.

  • @rohitrane8865
    @rohitrane8865 4 года назад

    Very much informative... Liked your approach... Thanks mate

  • @MrXceller
    @MrXceller 7 лет назад

    Andrew Gould, VBA king. Love your tutorial! Thank you! Would you do a tutorial on API, RESTful API, PowerQuery in the future?

  • @kaistasch4028
    @kaistasch4028 7 лет назад

    Dear Andrew, first of all, thank you very much for the great video. I have got on question: If I click on tag and browse to the next site, how do I activate the new page to be able to click on -tags on the new page? Thank you in advance.

  • @quintonballenden1436
    @quintonballenden1436 5 лет назад

    Simply outstanding!

  • @nickpenrod
    @nickpenrod Год назад

    One thing that would've been helpful is if this tutorial mentioned HTML frames somewhere; for a website I was trying to work with I was almost tearing my hair out since nothing worked, until I managed to stumble upon an explanation that HTML frames are basically their own document type, so on top of || set HTMLdoc = IE.Document ||, I then needed || set HTMLdoc2 = HTMLdoc.Frames(0).Document || to access the first frame on the web page. Doing that and referencing HTMLdoc2 to get the frame specifically made everything work basically instantly.

  • @leandro3825
    @leandro3825 4 года назад +1

    Great job.

  • @eb_reviews
    @eb_reviews 7 лет назад

    Amazing video! I appreciate your patience and time. Just what I needed! Thank you so much !
    I followed all the steps. I get the result on the worksheets when I run module 4 but not getting it when I use the userform to input the data.

  • @amitbond1
    @amitbond1 6 лет назад

    Watched the entire video..Seriously ..it's too good... only one help needed to let me know the user input method as mentioned in comments below..Pls.

  • @jeshand3159
    @jeshand3159 6 лет назад +1

    Mad respect for this bro!

  • @user-wd4yk6sv1p
    @user-wd4yk6sv1p Год назад +1

    Thank you for the great video. I have a question about an access problem when using XML. Every time I run the code with the Microsoft XML library, I get an access denied error which looks like: execution error '-2147024891 (80070005)'. How can I solve this problem? Thanks again.

  • @sokcheaheng2594
    @sokcheaheng2594 3 года назад +1

    Amazing!

  • @ravialbuquerque4861
    @ravialbuquerque4861 4 года назад +1

    Thank you so much for this video, it helped me a lot

  • @32Tracker1
    @32Tracker1 2 года назад

    Hi, I have just started with VBA Scraping. The tutorials you produce are amazingly informative and easy to follow, and at a pace that is easy to keep up with.
    I have tried some of my own coding and i am getting mixed results, some work Some DONT
    I have a problem with one particular VBA Script that i am working on and wondered if you could take a look to see how I have messed it up.... as it Stumps Me.
    Regards
    Paul

    • @WiseOwlTutorials
      @WiseOwlTutorials  2 года назад

      Hi Paul! You're welcome to post code here and I can try to offer suggestions. Happy to hear that the videos have helped so far!

  • @dilipdelwash3192
    @dilipdelwash3192 Год назад +1

    Very usefull.....,,🍄👌👌👌👌

  • @TheTimponi
    @TheTimponi 7 лет назад

    Thank you so much for this. Solved my problem!
    Just one question. Referring to the time stamp 32:05 of this video. Why do we set HTMLDoc=IE.Document? What do we gain from this?
    Thanking you for all help thus far!
    P.S. You have a voice that can make anything sound interesting!

  • @dineshbhuvanagiri7101
    @dineshbhuvanagiri7101 7 лет назад

    Magnificent....Great info...very useful..thanks a ton

  • @andonii46
    @andonii46 6 лет назад +5

    dude you are awesome

  • @sreerajandsreeraj
    @sreerajandsreeraj 5 лет назад

    Excellent tutorials sir , could you please make a tutorial on how to work with date picker while web scraping. This would be really helpful.

    • @WiseOwlTutorials
      @WiseOwlTutorials  5 лет назад

      Hi Sreeraj, we do have a video which explains how to install the Date Time Picker control ruclips.net/video/JtRQC5qnrHQ/видео.html (although it may be difficult to find a copy of the file these days). Using the control for web-scraping is really no different to using it for any other purpose. You can access the date picked by using the Value property of the control:
      Dim DatePicked As Date
      DatePicked = DTPicker1.Value
      You can then use that value for whatever you need!

  • @mattyswanepoel
    @mattyswanepoel 7 лет назад

    This is a fantastic video!! i have learned a great deal here. Thank you.

  • @tunghv
    @tunghv 4 года назад +1

    Thank you. That very helpful.

    • @WiseOwlTutorials
      @WiseOwlTutorials  4 года назад +1

      You're very welcome, thank you for watching!

    • @piyushchandela
      @piyushchandela 3 года назад

      Nice video sir.. kindly show how to fill captcha code for login

    • @piyushchandela
      @piyushchandela 3 года назад

      @@WiseOwlTutorials nice video sir kindly share how to fill captcha code for login

  • @jorgearias437
    @jorgearias437 4 года назад +1

    Thanks for sharing this. It’s really helpful. Do you know if there’s a way to download a Tableau workbook using this?

  • @MultiVicthor
    @MultiVicthor 5 лет назад

    If you're having trouble with the first loop, try InternetExplorerMedium instead of InternetExplorer. EX: Dim IE as New SHDocVw.InternetExplorerMedium

  • @RajaTRemyaR
    @RajaTRemyaR 6 лет назад

    Great Video. Learnt lot of new things. Thanks

  • @pedrovega8041
    @pedrovega8041 5 лет назад

    You are a genius men

  • @johnbensen3429
    @johnbensen3429 5 лет назад +1

    Amazing !
    VBA is such a (with due to respect) a fucking language .
    But you made it very easy to work with .
    Thanks a lot .

  • @RikSail
    @RikSail 7 лет назад

    I am learning a lot from your videos Wise Owl Thank You!!!!You indicate in your video that you can use XML rather than IE if you can arrive at a web page using query strings. Is t also possible to use XML if you must enter PW and USERNAME prior to arriving at the desired page/s?

  • @santoshkumar-iy9yx
    @santoshkumar-iy9yx 7 лет назад

    One of the Best video....

  • @user-ri4qf5bk5g
    @user-ri4qf5bk5g 3 года назад

    what a great tutorial!

  • @crystalyin184
    @crystalyin184 7 лет назад +1

    Great video! Thank you!
    Just a small question: how can I place 2 tables side by side ?

  • @michellegoodwin409
    @michellegoodwin409 5 лет назад

    This is the best.

  • @yencheng8095
    @yencheng8095 4 года назад +1

    Hi Andrew. How can I use Microsoft Edge instead of Internet Explorer ?

  • @camiel123camiel
    @camiel123camiel 4 года назад +1

    First of all, best explanation I found on the web so far. But although I tested with the same code as you it is not werking.
    At 16:51 I get the following error: Run-time error ‘438’: Object doesn’t support this property of methode. And at 24:42 I get Run-time error ‘91’: Object variable or With Black variable not set.
    Do I need to add any additional reference or is this relaxed to something else?
    Thanks in advance!!

    • @WiseOwlTutorials
      @WiseOwlTutorials  4 года назад

      Hi there, often the problem with things like this is that the design of the website has changed since the video was made, but that doesn't appear to be the issue here. I've downloaded the completed example (you'll find the link for this in the video description) and tested the two examples that you've mentioned and they still work correctly. I'd recommend downloading the completed example and comparing it to the code you've written to see if there are any differences.
      I hope that helps!

    • @camiel123camiel
      @camiel123camiel 4 года назад

      WiseOwlTutorials Hi, thank you VERY much to reply!
      I restarted from 0 to avoid making any typos etc.
      It already bugs at the wait loop (code is 100% the sale as yours at 10:21):
      IE.readyState =

  • @balramsingh11
    @balramsingh11 5 лет назад

    Wow.. Awesome Video, Sir !

  • @LD-nx8oe
    @LD-nx8oe 5 лет назад

    What a fantastic video. Very clear, very educational, very well done. Thank you.

  • @markogalovic108
    @markogalovic108 3 года назад +1

    Good, really good.. but one big problem... scraping over static result addresses is easy... but dynamical addresses hole new level...

    • @WiseOwlTutorials
      @WiseOwlTutorials  3 года назад +1

      You're right, Marko! It's more difficult, but it's certainly possible. This video shows one way to do it ruclips.net/video/sGw6r5GVA5g/видео.html&lc=UgwdeYZy2Nqsf7Cc66F4AaABAg
      Sadly, the website I used for the demonstration has changed since the video was recorded and so the code shown in the video doesn't work any longer, but you can download a working version of the file from the link in the description and the video will still give you some useful ideas I think!

    • @markogalovic108
      @markogalovic108 3 года назад +1

      @@WiseOwlTutorials i`ll check... you are truly a teacher!

    • @markogalovic108
      @markogalovic108 3 года назад +1

      Perfect!!!!!!!!