Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Excel - Efficient Web Scraping in Excel: Extracting Data from Multiple Websites - Episode 665

Автор: MrExcel.com

Загружено: 2009-02-20

Просмотров: 6888

Описание:

Microsoft Excel Tutorial: Efficient Web Scraping in Excel: Extracting Data from Multiple Websites.

Welcome back to the MrExcel netcast! In yesterday's episode, I showed you a simple VBA code to extract URLs from a column of links and bring them into a new column. Today, we have a more complex task at hand - scraping webpages and bringing their contents into Excel.

To start off, I will copy the characters from the formula bar of the URL I want to scrape. Then, I will open a new workbook and turn on the macro recorder. After adjusting the settings, I will build the first web query by going to Data, Import External Data, and selecting New Web Query. I will paste the URL into the address bar and click "Go".

Next, I will wait for the webpage to load and then click "Import" and "OK" for the next dialog box. This will bring in all the text from the webpage. I will stop the macro recorder and take a look at the recorded code. By editing the code, I can see where the URL is inserted and how it asks for a specific table if needed.

Now, I will go back to my original workbook where I have already built a loop to go through each cell in a specific range. I will create a variable called "This Url" and set it equal to the URL in the cell. Then, I will paste the recorded code into the loop and change the hard-coded URL to the variable "This Url". This will allow the code to run through each URL in the range and bring in the contents of each webpage.

This method is a quick and efficient way to grab data from a website and bring it into Excel. One of my favorite examples of this is when I had to extract 4,000 addresses from 4,000 different webpages. I wrote an article about it on our website, MrExcel.com/tip072.shtml, where I explain in detail how I built the queries to get all that data. While today's netcast is a simple example with just 10 webpages, this website has a specific example that shows how we can easily and quickly extract a large amount of data from a website.

Thank you for tuning in to this netcast from MrExcel. I hope this video has been helpful and we'll see you next time for more tips and tricks on Excel. Don't forget to like, comment, and subscribe for more content like this. See you soon!

Buy Bill Jelen's latest Excel book: https://www.mrexcel.com/products/latest/

You can help my channel by clicking Like or commenting below: https://www.mrexcel.com/like-mrexcel-...


In todays netcast, I will show you how to use a simple loop and some recorded macro code to pull all of the data from many web pages. Episode 665 shows you how.

Table of Contents:
(00:00) Introduction
(00:18) First step: copying characters from formula bar
(00:40) Using macro recorder
(00:50) Building first web query
(01:05) No table available, grabbing entire web page
(01:20) Editing recorded code
(01:31) Pasting recorded code into initial loop
(02:25) Running the code
(02:45) Results in new worksheets
(02:55) Clicking Like really helps the algorithm

#excel #microsoft #microsoftexcel #exceltutorial #exceltips #exceltricks #excelmvp #freeclass #freecourse #freeclasses #excelclasses #microsoftmvp #walkthrough #evergreen #spreadsheetskills #analytics #analysis #dataanalysis #dataanalytics #mrexcel #spreadsheets #spreadsheet #excelhelp #accounting #tutorial

This video answers these common search terms:
Automating web page data extraction in Excel
Efficient method for extracting data from websites into Excel
Example of importing multiple web pages into separate worksheets in Excel
Grabbing data from websites and bringing it into Excel
How to extract URLs from a column in Excel using VBA
Importing external data into Excel using web query
Looping through cells in Excel to import web page data
Macro recorder in Excel for web scraping
Using variables in VBA code for web scraping in Excel
VBA code for importing web page data into Excel
Web query in Excel for importing data from websites
YouTube video tutorial on importing web page data into Excel

Join the MrExcel Message Board discussion about this video at https://www.mrexcel.com/board/threads...

Excel - Efficient Web Scraping in Excel: Extracting Data from Multiple Websites - Episode 665

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

array(10) { [0]=> object(stdClass)#6790 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "NxCkXGmdDWU" ["related_video_title"]=> string(88) "Excel - Extracting Hyperlinks in Excel with VBA | Copy Web Data to Columns - Episode 664" ["posted_time"]=> string(20) "16 лет назад" ["channelName"]=> string(11) "MrExcel.com" } [1]=> object(stdClass)#6763 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "LgXzzu68j7M" ["related_video_title"]=> string(44) "Учебник по Excel за 15 минут" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(15) "Kevin Stratvert" } [2]=> object(stdClass)#6788 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "aDbcJFfNC6I" ["related_video_title"]=> string(83) "How To Change Default Font On Google Sheets 2025 | Customize Your Spreadsheet Style" ["posted_time"]=> string(24) "45 минут назад" ["channelName"]=> string(9) "Login Aid" } [3]=> object(stdClass)#6795 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "dMOXzbkm4ek" ["related_video_title"]=> string(155) "МИРНЫЙ ПЛАН ТРАМПА И ВОЕННЫЙ ПЛАН НЕТАНЬЯХУ. БЕСЕДА С АНДРЕЙ ПИОНТКОВСКИЙ @Andrei_Piontkovsky" ["posted_time"]=> string(0) "" ["channelName"]=> string(17) "ФЕЙГИН LIVE" } [4]=> object(stdClass)#6774 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "GPLLrcq3D3A" ["related_video_title"]=> string(65) "Excel Three Bots против трех Гуру Эпизод 2672" ["posted_time"]=> string(25) "4 месяца назад" ["channelName"]=> string(11) "MrExcel.com" } [5]=> object(stdClass)#6792 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "ZJKxyxf1C9k" ["related_video_title"]=> string(127) "Россия вступает в войну на Ближнем Востоке? / Жёсткое заявление МИД РФ" ["posted_time"]=> string(21) "4 часа назад" ["channelName"]=> string(10) "NEXTA Live" } [6]=> object(stdClass)#6787 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "_5z-oaPET7A" ["related_video_title"]=> string(93) "Ты забудешь слово РАБОТА. ChatGPT + Excel (Эксель + Чат ГПТ)" ["posted_time"]=> string(27) "8 месяцев назад" ["channelName"]=> string(34) "Никита и Нейросети" } [7]=> object(stdClass)#6797 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "KLzMZT-jZIc" ["related_video_title"]=> string(77) "Развязка в войне / Принято срочное решение" ["posted_time"]=> string(24) "14 часов назад" ["channelName"]=> string(10) "NEXTA Live" } [8]=> object(stdClass)#6773 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "QWx6QBlpvns" ["related_video_title"]=> string(88) "1. Встреча на Патриарших. Мастер и Маргарита. Full HD" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(19) "NightHORROR_Channel" } [9]=> object(stdClass)#6791 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "w2iia4gnPy4" ["related_video_title"]=> string(99) "Excel’s “Start With Copilot” – A Game Changer for Beginners! - Episode 2675" ["posted_time"]=> string(25) "2 недели назад" ["channelName"]=> string(11) "MrExcel.com" } }
Excel - Extracting Hyperlinks in Excel with VBA | Copy Web Data to Columns - Episode 664

Excel - Extracting Hyperlinks in Excel with VBA | Copy Web Data to Columns - Episode 664

Учебник по Excel за 15 минут

Учебник по Excel за 15 минут

How To Change Default Font On Google Sheets 2025 | Customize Your Spreadsheet Style

How To Change Default Font On Google Sheets 2025 | Customize Your Spreadsheet Style

МИРНЫЙ ПЛАН ТРАМПА И ВОЕННЫЙ ПЛАН НЕТАНЬЯХУ. БЕСЕДА С АНДРЕЙ ПИОНТКОВСКИЙ @Andrei_Piontkovsky

МИРНЫЙ ПЛАН ТРАМПА И ВОЕННЫЙ ПЛАН НЕТАНЬЯХУ. БЕСЕДА С АНДРЕЙ ПИОНТКОВСКИЙ @Andrei_Piontkovsky

Excel Three Bots против трех Гуру Эпизод 2672

Excel Three Bots против трех Гуру Эпизод 2672

Россия вступает в войну на Ближнем Востоке? / Жёсткое заявление МИД РФ

Россия вступает в войну на Ближнем Востоке? / Жёсткое заявление МИД РФ

Ты забудешь слово РАБОТА. ChatGPT + Excel (Эксель + Чат ГПТ)

Ты забудешь слово РАБОТА. ChatGPT + Excel (Эксель + Чат ГПТ)

Развязка в войне / Принято срочное решение

Развязка в войне / Принято срочное решение

1. Встреча на Патриарших. Мастер и Маргарита. Full HD

1. Встреча на Патриарших. Мастер и Маргарита. Full HD

Excel’s “Start With Copilot” – A Game Changer for Beginners! - Episode 2675

Excel’s “Start With Copilot” – A Game Changer for Beginners! - Episode 2675

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]