A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

importing across applications



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 4th 09, 12:55 PM posted to microsoft.public.outlook.program_vba
KODA
external usenet poster
 
Posts: 3
Default importing across applications

Is there a way to automatically import an attachment (specifically formatted
excel file with a name beginning with PQDY-XXXXXXX) from an outlook e-mail
into a specific Access DB? Once the file is imported I want to verify content
in specific columns, can this also be done automatically?
Ads
  #2  
Old March 4th 09, 02:19 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default importing across applications

Sure, just write code to do that either from Outlook or Access, using the
Outlook object model.

See www.outlookcode.com for lots of different code samples for Outlook,
including working with attachments and working with Access.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"KODA" wrote in message
...
Is there a way to automatically import an attachment (specifically
formatted
excel file with a name beginning with PQDY-XXXXXXX) from an outlook e-mail
into a specific Access DB? Once the file is imported I want to verify
content
in specific columns, can this also be done automatically?


  #3  
Old March 5th 09, 01:40 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook][_2_]
external usenet poster
 
Posts: 26
Default importing across applications

Just to add to Ken's response: The first step of that operation is saving the
file from the Outlook item out to a folder using the MailItem.Attachments
collection and the Attachment.SaveAsFile method.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"KODA" wrote:

Is there a way to automatically import an attachment (specifically formatted
excel file with a name beginning with PQDY-XXXXXXX) from an outlook e-mail
into a specific Access DB? Once the file is imported I want to verify content
in specific columns, can this also be done automatically?

  #4  
Old March 5th 09, 12:37 PM posted to microsoft.public.outlook.program_vba
KODA
external usenet poster
 
Posts: 3
Default importing across applications

Thank you Sue. I was on your site yesterday, thank you for hosting this site,
it is very helpful. I have been away from VBA for about 9 yrs but getting
back into it. I'm using 2003 versions of Office but hope to upgarde to 2007
soon. Is there an advantage of using 2007 over 2003 for VBA? I will post this
there also.

"Sue Mosher [MVP-Outlook]" wrote:

Just to add to Ken's response: The first step of that operation is saving the
file from the Outlook item out to a folder using the MailItem.Attachments
collection and the Attachment.SaveAsFile method.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"KODA" wrote:

Is there a way to automatically import an attachment (specifically formatted
excel file with a name beginning with PQDY-XXXXXXX) from an outlook e-mail
into a specific Access DB? Once the file is imported I want to verify content
in specific columns, can this also be done automatically?

  #5  
Old March 5th 09, 02:25 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook][_2_]
external usenet poster
 
Posts: 26
Default importing across applications

Outlook 2007 has a much richer object model, but it offers no particular
advantage for this particular application.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"KODA" wrote:

Thank you Sue. I was on your site yesterday, thank you for hosting this site,
it is very helpful. I have been away from VBA for about 9 yrs but getting
back into it. I'm using 2003 versions of Office but hope to upgarde to 2007
soon. Is there an advantage of using 2007 over 2003 for VBA? I will post this
there also.

"Sue Mosher [MVP-Outlook]" wrote:

Just to add to Ken's response: The first step of that operation is saving the
file from the Outlook item out to a folder using the MailItem.Attachments
collection and the Attachment.SaveAsFile method.

"KODA" wrote:

Is there a way to automatically import an attachment (specifically formatted
excel file with a name beginning with PQDY-XXXXXXX) from an outlook e-mail
into a specific Access DB? Once the file is imported I want to verify content
in specific columns, can this also be done automatically?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change applications font TxHeart Outlook - General Queries 0 February 9th 09 06:29 PM
Applications not found adter Office 03 to 07 upgrade. What now? DPet Outlook - General Queries 3 November 8th 07 09:02 PM
Using Contacts with Other Office Applications Nigel Outlook - Using Contacts 0 October 31st 07 01:01 PM
Cannot acess web links from Office applications resonator80 Outlook - General Queries 1 February 26th 07 02:00 PM
Attachment applications AliceW Outlook Express 2 April 22nd 06 12:00 PM


All times are GMT +1. The time now is 05:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.