It's sad, but I am an amateur developer and have spent DAYS trying to get Excel to make an API Request to the US Census Bureau and it is only after watching this that I have succeeded. Thank you!!!
@WiseOwlTutorials2 жыл бұрын
Hi Adam! Happy to hear that the video helped you, thanks for watching and taking the time to leave a comment!
@paulucheoma92662 жыл бұрын
This was by far hands down one of the best videos I've watched on this topic. And it's free? Saying thank you isn't even enough! God bless you!
@WiseOwlTutorials2 жыл бұрын
Thanks to you for watching it Paul!
@joaofilipecastrosantos99473 жыл бұрын
Your work is outstanding!!! And making it available for free is incredibly generous.
@WiseOwlTutorials3 жыл бұрын
Thanks Joao, glad to hear your found it useful!
@sribalajispaceship4 жыл бұрын
You are the best!!!!!!! I am able to code and make my tasks automated after watching your videos..very simple ..clean..and elegant explanations
@WiseOwlTutorials4 жыл бұрын
Thank you, Sri! Very happy to hear that you're enjoying the videos, thank you for the feedback and for watching!
@mareklux97432 жыл бұрын
Thank you! Do you think it would be possible to load a site. Post username+password. Click Javascript button. Do until status confirmed it is loaded and then Navigate until you at your goal?
@WiseOwlTutorials2 жыл бұрын
Hi Marek! I think that you'll have difficulty interacting with Javascript elements when using XMLHTTP requests. You may have more success automating a web browser such as Chrome using SeleniumBasic for VBA. You can see some videos on how to do this in this playlist kzbin.info/aero/PLNIs-AWhQzcl3xKvF8sVL4sWRWICj_clM I hope it helps and thanks for your support!
@LearnYouAndMe2 жыл бұрын
I liked the way you explain. You are just amazing providing advance stuff free of cost.
@WiseOwlTutorials2 жыл бұрын
Thanks, glad you're finding it useful!
@LD-nx8oe Жыл бұрын
Such exceptional videos. I will be donating within the next couple of days. Thanks so much.
@WiseOwlTutorials Жыл бұрын
Glad you liked it, thanks for the support!
@Aarmaxian4 жыл бұрын
That is a fantastic video. Better than anything I have seen. Thank you very much.
@cesarchicaiza48313 жыл бұрын
You are my HERO good sir!!!, thanks so much for the awesome tutorials. Keep up the good work!!
@WiseOwlTutorials3 жыл бұрын
You're very welcome Cesar, thanks for watching!
@krn142425 жыл бұрын
Great video Andrew. This is very useful information.
@WiseOwlTutorials5 жыл бұрын
Thanks! It feels as though the VBA videos are gradually becoming more techy and narrowly focused. It's good to know that people still find them useful!
@sanjibpramanik92684 жыл бұрын
Thanks to make it easy, waiting for next tutorial, and also want to learn how to parse json by excel vba from you.
@wellskian53873 жыл бұрын
Dunno if anyone gives a damn but if you guys are bored like me during the covid times then you can watch pretty much all of the new series on InstaFlixxer. Been binge watching with my gf these days xD
@rhettulises48183 жыл бұрын
@Wells Kian Yea, been watching on instaflixxer for since december myself :D
@piotr7803 жыл бұрын
you are best canal with VBA videos, this awful language will never die in corpo env, so you help us :)
@WiseOwlTutorials3 жыл бұрын
Thank you Piotr, I'm happy that the videos are helping!
@giuliko5 жыл бұрын
Wow... That's pure gold my friend. Thank you very much for that. God bless you.
@WiseOwlTutorials5 жыл бұрын
You're very welcome, glad you enjoyed it and thanks for watching!
@BenLinfordUK4 жыл бұрын
I make it pure 'Gould'. 🙃
@gianpaolo194 жыл бұрын
Thank you very much!!!This is not gold but platinum!!Tanta ROBAAA si dice in Italia!!!!
@shahbazkhan22834 ай бұрын
Hello Andrew, I am stuck. I can't find form data for any site. Where should i look.
@manideepu28174 жыл бұрын
Excellent..... One question on how to use Patch request like get and post? Any video or reference for that?
@luisprieto53824 жыл бұрын
Incredible tutorial. Thanks!
@matthewyoung92503 жыл бұрын
Very clear, thank you!
@WiseOwlTutorials3 жыл бұрын
Cheers Matthew, glad you found it useful!
@dharmaraju29084 жыл бұрын
Nice one ....can you please provide that macro
@mumbai48623 жыл бұрын
So amazing and wonderful
@WiseOwlTutorials3 жыл бұрын
Thanks!
@jjtagh2 жыл бұрын
Would you consider doing a video on interacting with a GraphQL API using VBA?
@WiseOwlTutorials2 жыл бұрын
Hi there! It's unlikely sorry, I don't know anything about GraphQL.
@LearnYouAndMe2 жыл бұрын
Help - I dowloaded your file and ran BasicGETRequestWithQueryString but after opening text file in webbrowser it is showing nothing ( Just layout with no content).
@WiseOwlTutorials2 жыл бұрын
It looks as though the KZbin example no longer works, probably due to changes in the way the site works since the video was recorded (this is always a problem when you're not in control of the site you're scraping). The other examples shown in the video still work.
@The_Code_Father2 жыл бұрын
Awesome Tutorial Mr Andrew BTW i found alibrary for parsing and dealing with json files on github and i searched alot for detailed tutorials on how to use restful api's in excel vba and implement HTTP Requests using Excel VBA but I found nothing but very few tutorials about this topic The point that i have in my country a governmental E Invoice portal and they are using API and JSON files is there is anyway or any tutorial on how to do that using Excel vba and VBA JSON Parser library ??
@WiseOwlTutorials2 жыл бұрын
Hi! I'm sorry that's not something I have any experience of so I can't offer any useful advice.
@The_Code_Father2 жыл бұрын
@@WiseOwlTutorials no problem sir thanks any way for those useful videos
@ivbit5 жыл бұрын
Our admin said we have linups server (or something like that). Will this code work with linups server?
@WiseOwlTutorials5 жыл бұрын
Hi there, I'm guessing your admin said Linux which I have no experience with so I'm sorry but I don't know!
@Got2bFit4 жыл бұрын
Thank you very much. Very informative tutorial.
@zethlarsson4303 Жыл бұрын
Thank you for an exelent lesson. English is not my basic language, but it was no problem to understand you. I'v one problem with you examples. The function WorkSheetFunction.EncodeURL do not work for me. Have tryed several suggestions from the web, but no one works. I would be very happy for some advice about what can be wrong in my environment. 64 bit HP computer, Win11, Office 10.
@WiseOwlTutorials Жыл бұрын
Hi Zeth! Happy to hear that you're finding the videos useful. Are you working with Office 2010? The EncodeURL function was introduced in Excel 2013 so if you're using an earlier version I'm sorry but it won't work.
@phoenixmoto52384 жыл бұрын
Sir Andy Gould in this video,in subroutine parsewiseowlsearchresults to add image to sheet you have used addpicture and URL itself instead of first downloading and then refering to file path. So how this satisfies ?please comment
@DM-py7pj4 жыл бұрын
The URL is still a "file path". docs.microsoft.com/en-us/office/vba/api/excel.shapes.addpictur
@rodrigoaraujo9223 жыл бұрын
Hello, how are you? I really liked your explanation, but how do I show the field json below: I tried in several ways, but I couldn't. "physical capacity": [],
@WiseOwlTutorials3 жыл бұрын
Hi Rodrigo! Sorry, I don't know the answer to that.
@MeTube20147 ай бұрын
Is there a way to get an element by Xpath from a webpage in VBA but without installing Selenium?
@WiseOwlTutorials7 ай бұрын
Hi! Yes, you can use the MSXML2 library and use the SelectNodes method of a DOMDocument60 or XMLDocument object. Pass your XPath into the SelectNodes method. I hope it helps!
@luiztechai3 жыл бұрын
Amazing tutorial. Thanks, I've learned a lot!
@WiseOwlTutorials3 жыл бұрын
Thank you Luiz!
@RupeshKumar-ms8bl4 жыл бұрын
Hey, The video was wonderfull. Can you please make a video to upload an image file to a server. Using POST multipart/form-data.
@manikandanp16102 жыл бұрын
Hi Andrew, Is there any way to interact website by using XML HTTP and HTML Library, Bz i could not see tag and data returning by http request as same like in browser for same website. Some tag and data missing in Http request because those are creating by script in browser. How this can be done?.
@WiseOwlTutorials2 жыл бұрын
Hi Manikandad, if you need to interact with objects created by script in the browser then you'll need to automate a browser. We have some videos which explain how to do this in this playlist kzbin.info/aero/PLNIs-AWhQzcl3xKvF8sVL4sWRWICj_clM I hope it helps!
@rayansalah57543 жыл бұрын
Hi...I hope u make tutorial about oauth2 for vba
@WiseOwlTutorials3 жыл бұрын
Hi there! We don't have any plans to make videos on this topic in the near future, sorry!
@AntrikshSharma5 жыл бұрын
9:50 you rapped there for few seconds, I see you can surpass Busta Rhymes.
@WiseOwlTutorials5 жыл бұрын
😂 I don't think that any rapper has anything to worry about!
@simonjeras92695 жыл бұрын
Hi, How to post # in the url request? system automaticaly replace with %23
@Myrslokstok2 жыл бұрын
I need an Oauth-token to retrive data is this comon? Can they be eternal valid time?
@WiseOwlTutorials2 жыл бұрын
I'm sorry, I don't know.
@MrMgrPL3 жыл бұрын
Run-time error '91': Object variable or With block variable not set WTF?
@hadibq2 жыл бұрын
Brilliant! all clear! TY ! 🙂
@WiseOwlTutorials2 жыл бұрын
You're very welcome, thanks for the support!
@mr.r63733 жыл бұрын
How do i run subsequent xml requests ? ,when i open "SomeURL" on browser it runs other 267 subsequent requests(gets images &icons and JavaScript ), and gives output, but when i do with xml request, the response text only gives response for 1st,
@mr.r63733 жыл бұрын
Forgot to mention, you are my a true VBA guru, while watching other VBA Videos on KZbin i usually fast forward them but not with your videos , they are in great details and covers almost all possible scenarios related to it.❤️❤️
@WiseOwlTutorials3 жыл бұрын
Hi Ravi, thanks for the kind words! I think the point of using XML HTTP requests is to avoid all of the other items that you've mentioned. The idea is to get only the response text of the initial request, not the results of javascript code, etc. If you want the results of the other items on the page then the best thing to do is use a web browser. I don't know if you've seen the recent videos on using Google Chrome from Excel VBA but there are several videos on the topic in this playlist starting at Part 57.1 kzbin.info/aero/PLNIs-AWhQzcl3xKvF8sVL4sWRWICj_clM I hope that helps!
@mr.r63733 жыл бұрын
@@WiseOwlTutorialsI am glad you responded ❤️, Yes i have seen chrome playlist, however due to organisation policy, IT department does not allow third party libraries/applications to install, hence can't use selenium.😭,
@WiseOwlTutorials3 жыл бұрын
@@mr.r6373 That's so frustrating! I guess that the best option that you have is to use Internet Explorer (the videos which cover IE are in the same playlist I linked to above).
@Aarmaxian4 жыл бұрын
If I use this in production to post and get data from a database (through a server), how can I protect the routes so that someone who gets hold of my workbook cannot see the data? I know this is a very unrelated question but I am really interested in knowing an answer to that one. Thanks.
@DM-py7pj4 жыл бұрын
Nothing in Excel is secure except perhaps some of the Microsoft code.
@ashb8995 жыл бұрын
This is some good shit man, good work
@WiseOwlTutorials5 жыл бұрын
Cheers Ashley, glad you liked it!
@mimocrocodile50695 жыл бұрын
Hi. Thanks a lot. But I ran into a problem. In sub ParseBOEExchangeRates: HTMLString = "..." and after HTMLDoc.body.innerHTML = HTMLString HTMLDoc.body.innerHTML = begins with "
@WiseOwlTutorials5 жыл бұрын
Hi Igor, did you try downloading the completed example file? This works correctly as shown in the video. You can find the link for this in the video description. I hope that helps!
@thomasfergusen51444 жыл бұрын
hello what is the disadvantages xlsb over xlsm
@DM-py7pj4 жыл бұрын
www.google.com/search?q=xlsb+versus+xlsm
@kashifkhanspecial5 жыл бұрын
Hi Andrew, I have one request to you I have very large PowerPoint file and in the file have around 15 to 20 slides and I want to update these slides with the updated data and also adjust height and width etc, can you make tutorial that how to take a reference of any previous shapes and add new data and adjust accordingly. Thanks Kashif
@WiseOwlTutorials5 жыл бұрын
Hi Kashif I'll see what I can do!
@kashifkhanspecial5 жыл бұрын
WiseOwlTutorials Thanks as always
@KhalilYasser5 жыл бұрын
In the `BasicPOSTRequestMultipleValues` procedure, it works but in the saved HTML file I didn't find the results. Although I manually did it in the browser and got results .. I even tried to copy all the source code of the POST but the same problem.
@WiseOwlTutorials5 жыл бұрын
Hi Yasser, I'm finding the same thing. This is the problem with writing examples using websites: things change! At least we can still use GET requests to retrieve the information we need with this particular site!
@KhalilYasser5 жыл бұрын
@@WiseOwlTutorials Thanks a lot for reply. I know things change all the time. But I tried to use GET also and the same problem. What are the things that have changed?
@WiseOwlTutorials5 жыл бұрын
Hi Yasser, the GET request still works Sub BasicGETRequestIMDB() Dim req As New MSXML2.XMLHTTP60 Dim reqURL As String reqURL = _ "www.imdb.com/search/title/?" & _ "title=john+wick" & _ "&release_date=2018-01-01," & _ "&genres=action" req.Open "GET", reqURL, False req.Send If req.Status 200 Then MsgBox req.Status & " - " & req.statusText Exit Sub End If 'Debug.Print req.responseText SaveHTMFile req.responseText End Sub
@KhalilYasser5 жыл бұрын
@@WiseOwlTutorials Thank you. I know things change all the time but when trying GET I got the same problem. What are the things that have changed? I didn't notice any change
@WiseOwlTutorials5 жыл бұрын
The code I've posted in my previous reply works, I've just tested it. I don't know what changed because I don't work for IMDB!
@Amr-Ibrahim-AI4 жыл бұрын
Thanks for the great explanation. Very useful indeed. How may I send a binary file (an image, say) in a POST request?
@DM-py7pj4 жыл бұрын
You want multipart/form-data e.g. stackoverflow.com/a/51453795
@rajeshmajumdar49995 жыл бұрын
Thank you so much 👍👍👍
@WiseOwlTutorials5 жыл бұрын
You're very welcome Rajesh, thanks for watching!
@eldarikus5 жыл бұрын
You are a wiz!
@KhalilYasser5 жыл бұрын
Thank you very much for this plenty of information. I have learned a lot. As for this part For n = 1 To 12 MonthList.AddItem MonthName(n, True) Next n I got a list of months in Arabic. How can I made a list that generates months in English so as to make it work?
@WiseOwlTutorials5 жыл бұрын
Hi Yasser, you can try this: Dim n As Long Dim EnglishMonthName As String For n = 1 To 12 EnglishMonthName = Format(DateSerial(2019, n, 1), "[$-409]mmm") MonthList.AddItem EnglishMonthName Next n I hope it helps!
@KhalilYasser5 жыл бұрын
@@WiseOwlTutorials I tried your code but the items in the MonthList combobox is still in Arabic ..
@KhalilYasser5 жыл бұрын
I could solve that point using this code Dim aMonths As Variant aMonths = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December") For n = 1 To 12 MonthList.AddItem aMonths(n - 1) Next n But when trying to run the code, I got the message "Select a valid date"
@WiseOwlTutorials5 жыл бұрын
Hi Yasser, you need the short month names "Jan", "Feb" etc. I hope that helps!
@KhalilYasser5 жыл бұрын
@@WiseOwlTutorials Thank you very much. I applied your idea and used the short names for months but I still got the same message (invalid date). I debugged the code and I changed `MonthList.Text` To `MonthList.ListIndex + 1` and this worked fine now. Thanks a lot for your patience
@pradeeprawatvlogs83585 жыл бұрын
Thank you so much sir 🙏🙏🙏🙏🇮🇳
@deldube5 жыл бұрын
Great instructional video. One of the best on KZbin for this software. Just have one question... See below: The last Post request from IMDB John Wick did not work. Can you assist as to why?