Solved

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

Posted on 2009-04-03
4
238 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
Comment Utility
Yes
Can you pls post an example
Cheers
Dave
0
 

Author Comment

by:bpfsr
Comment Utility
of the web confirmation or the Outlook email?
0
 
LVL 12

Accepted Solution

by:
Hairbrush earned 500 total points
Comment Utility
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
Comment Utility
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now