Capturing a Webpage As Text and Importing Into Excel.

Using Windows Task Scheduler and a series of batch files that download reports (as CSV files) I'm able to automate the hourly updating of macro-enabled Excel files that auto-publish their reports as HTM files to a webserver. But I've hit a brickwall since one of the webpages from which I need data is only presented as a webpage (no downloadable report available). I see the obvious solution as capturing the page as text (manually I'd do it using <Ctrl>+<A>, <Ctrl>+<C> and pasting the text into Excel for manipulation). But I'm not familiar with how to accomplish this automatically, in Excel or otherwise.
slamondAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
This process tends to be far more complex than you might think.

https://www.experts-exchange.com/questions/29075321/how-to-store-some-selected-text-from-a-webpage-to-a-string-in-java.html - take a read through my comments about this process as a good starting point.
0
slamondAuthor Commented:
I solved the problem myself. On the Data ribbon there is a button labeled "From Web". Pasting the URL into that interface and then clicking GO and ultimately Import, it downloads the text into the cell of my choice. I then used the Developer ribbon's Record Macro button to document the steps in VBA (for later copying and pasting to the  Workbook_Open() subroutine as part of the automation process).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
slamondAuthor Commented:
It works.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.