Solved

Can I scrape data from a web confirmation page or email confirmation to paste into Excel

Posted on 2009-04-03
4
246 Views
Last Modified: 2012-05-06
I buy merchandise from the vendor on a regular basis. I keep track of the transactions in an Excel worksheet but unfortunately this vendor does not give the ability to download the transactions into a spreadsheet. I therefore do endless cutting and pasting to get the data I want, i.e. the name of the item, order number, price, etc. The confirmation page is exactly the same every time and I do get a confirm email with each transaction which is exactly the same. Can I either create a macro in Excel or a rule in Outlook (or both) which will extract the data I need and paste it into the Excel sheet for me? Also I use the sheet all day for various other things; would either of these require me to close the sheet to preform the operation?
0
Comment
Question by:bpfsr
  • 2
4 Comments
 
LVL 50

Expert Comment

by:Dave Brett
ID: 24059703
Yes
Can you pls post an example
Cheers
Dave
0
 

Author Comment

by:bpfsr
ID: 24059819
of the web confirmation or the Outlook email?
0
 
LVL 12

Accepted Solution

by:
Hairbrush earned 500 total points
ID: 24060299
There is some web scraping functionality built into Excel 2003 and 2007.  There is a video demonstrating it in 2007 here: http://wm.microsoft.com/ms/gsd/mikegannotti/webscrape.wmv

Does that help at all?  If not, please could you provide a screenshot of what the vendor's confirmation page looks like and we can then consider the best approach?
0
 
LVL 50

Expert Comment

by:Dave Brett
ID: 24064978
What I would recommend is
(1) Having an Outlook rule to move all these emails to a specific folder
(2) Running the code from Excel to parse the required data from all emails in the Outlook folder
We will need to see a sample of the message, and the required Excel output to do this
Cheers
Dave
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question