Power Query through multiple .html files

AwfulSpider

New Member
Joined
Sep 25, 2020
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hello!

I have a frustratingly repetitive task I'd like to automate. Every morning I'm sent a .html file that contains thousands of rows of info. Unfortunately, the link only carries 250 rows per page, so I copy/paste through each page into an excel file. The file looks like this:

file:///C:/Users/33887216/Desktop/QI%20Work/Jabber/FinesseDaily/January/ContactTracerDailyReport14.1/AdvancedCDRReport__1.htm

With the three things in green changing by month, day(.sometimes there's 1 or 2 files), and page # respectively.

I was able to use the Get From Web tool to automatically put 1 page at a time into a table, rather than copy/paste, but this doesn't really save time since I have to change the page number in the file link and repeat the process.

I was trying to use VBA to automate the process, but am very much a novice. I've been unable to automate a query that counts up through the pages....

any help is much appreciated!!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,214,875
Messages
6,122,040
Members
449,063
Latest member
ak94

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