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

How do I extract attachments automatically?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 10th 08, 09:12 PM posted to microsoft.public.outlook.program_vba
AU_BTS
external usenet poster
 
Posts: 1
Default How do I extract attachments automatically?

The group of people I work with and myself all recieve tasks through a public
folder in outlook. I have set it up with a rule so when a message with an
attachment is sent to this public folder it is automatically sent to a
personal folder under my inbox. What I would like to do is have outlook send
only the attachments (all of which are excel spreadsheets formated the same
way) to a folder on my desktop.

It is outside the scope of this forum, but I would also like to have VB take
the first nine characters of the file name and make that into the displayed
text for a hyperlink in an excel spreadsheet in the first available cell in a
given column. This hyperlink would lead from this excel spreadsheet to the
folder which Outlook was automatically sending the attachments.

I know what I want, but not how to get there, any information on how to do
this with as little VB skills as possible would be outstanding as my VB
skills are limited at best. This seems like it would need to be two seperate
scripts, one from Outlook to move the attachments and another from Excel to
name and establish the hyperlink.

Thank you for your time.
Ads
  #2  
Old July 10th 08, 10:34 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How do I extract attachments automatically?

These code samples show various ways to save attachments:

http://www.fontstuff.com/outlook/oltut01.htm
http://www.outlookcode.com/codedetail.aspx?id=70
http://www.outlookcode.com/codedetail.aspx?id=866
http://www.outlookcode.com/codedetail.aspx?id=1494
http://www.slovaktech.com/code_sampl...ripAttachments

There's no reason the Excel automation code couldn't be combined with the
attachment saving code into the save Outlook procedure, but an Excel group
can probably help you more effectively with such tasks as opening a worksheet
and finding the first blank cell.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"AU_BTS" wrote:

The group of people I work with and myself all recieve tasks through a public
folder in outlook. I have set it up with a rule so when a message with an
attachment is sent to this public folder it is automatically sent to a
personal folder under my inbox. What I would like to do is have outlook send
only the attachments (all of which are excel spreadsheets formated the same
way) to a folder on my desktop.

It is outside the scope of this forum, but I would also like to have VB take
the first nine characters of the file name and make that into the displayed
text for a hyperlink in an excel spreadsheet in the first available cell in a
given column. This hyperlink would lead from this excel spreadsheet to the
folder which Outlook was automatically sending the attachments.

I know what I want, but not how to get there, any information on how to do
this with as little VB skills as possible would be outstanding as my VB
skills are limited at best. This seems like it would need to be two seperate
scripts, one from Outlook to move the attachments and another from Excel to
name and establish the hyperlink.


 




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
Extract Attachments in ItemSend amitshinde via OfficeKB.com Add-ins for Outlook 1 September 13th 07 07:15 PM
Automatically Save Attachments Steve Link Outlook and VBA 1 June 9th 07 04:24 PM
Automatically adding attachments and sending them DannyJ Outlook and VBA 5 January 3rd 07 07:44 PM
How can I automatically save attachments from inside a rule? bobhody Outlook and VBA 1 May 25th 06 12:19 AM
Extract attachments from current mailobject vonClausowitz Outlook and VBA 4 January 19th 06 09:50 AM


All times are GMT +1. The time now is 08:15 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.