Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Mike Gagnon
  Where is Mike Gagnon?
 Pointe Claire
 Canada
 Mike Gagnon
 To: Santosh Mishra
  Where is Santosh Mishra?
 Lucknow
 India
 Santosh Mishra
Subject: RE: Email data in Excel
Thread ID: 438818 Message ID: 438824 # Views: 66 # Ratings: 1
Version: Unknown Category: Databases, Tables and SQL Server
Date: Tuesday, August 2, 2016 11:39:08 AM         
   



> Respected all
> Is there any method to copy & paste data from attached file in mail without using traditional method ?
>
> I receive 10-15 mails daily with attached CSV/XLSx. We do following to copy & paste
>
> 1.open mail
> 2.download file
> 3. copy data
> 4 paste in one excel named as COMBINED
>
> this is a irritating task for me, if any of you can suggest any method to solve the issue using Excel macro or VFP.

1. Automate Outlook.
2. Find the e-mail that contains the attachment you are looking for.
3. Save the attachment in a folder.
4. Automate Excel to open the saved attachment, copy the data, open another workbook and paste into it.

Start with that and come back if you have questions.


Mike Gagnon

ENTIRE THREAD

Email data in Excel Posted by Santosh Mishra @ 8/2/2016 7:16:45 AM
RE: Email data in Excel Posted by Mike Gagnon @ 8/2/2016 11:39:08 AM
RE: Email data in Excel Posted by Santosh Mishra @ 8/3/2016 4:40:12 AM