Import Data from Multiple Web Pages

Ka001

New Member
Joined
Nov 16, 2023
Messages
11
Office Version
  1. 2013
  2. 2011
  3. 2010
Platform
  1. Windows
I am trying to import several web pages into an Excel 2019 spreadsheet. I can import one page at a time using Power Query, but, I cannot get it to work on a table that contains several HTML links.
If you wish I can upload the Excel spreadsheet but I cannot see how to do that from the options on the Mrexcel screen.

In image 1 I can download the html data from file:///C:/Viking%20Family%20Htmls/591.html.

In image 2 I am trying to download html data from a table, but Power Query only downloads the URL e.g I am trying to get data from 591.html, 592.html, 587.html, 589.html etc. I can get the data if I do the import individually but it doesn't work for a table.

Image 3 shows the Power Query text when the "URL" function is invoked.

Image 4 has the table and the text.

Image 5 has the error message I get when I add a new Custom Column in Power Query.
 

Attachments

  • Import Data from Web 1.jpg
    Import Data from Web 1.jpg
    140 KB · Views: 26
  • Import Data from Web 2.jpg
    Import Data from Web 2.jpg
    162.6 KB · Views: 24
  • Import Data from Web 3.jpg
    Import Data from Web 3.jpg
    144.1 KB · Views: 18
  • Import Data from Web 4.jpg
    Import Data from Web 4.jpg
    132.3 KB · Views: 20
  • Import Data from Web 5.jpg
    Import Data from Web 5.jpg
    116.7 KB · Views: 25

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,224,800
Messages
6,181,042
Members
453,014
Latest member
Chris258

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top