Solved

How do I move the attachments from a message to a new task(Outlook98)?

Posted on 2000-05-01
3
137 Views
Last Modified: 2010-05-02
We have an outlook application that creates a task type item from a mail message when a button is pressed. The mail item may have attachments.  Does anybody know a simple way to move all the attachments from the mail message to the task message using VB script.

Thank You!
0
Comment
Question by:bfraser
  • 2
3 Comments
 

Author Comment

by:bfraser
ID: 2768723
Adjusted points from 100 to 200
0
 
LVL 3

Accepted Solution

by:
SMosher earned 200 total points
ID: 2844147
Unfortunately, there's no way to do this directly. You must use the SaveAsFile method on each file to create a system file, use the Attachments.Add method to add each attachment to the Task, then delete the system files you created.
0
 

Author Comment

by:bfraser
ID: 2845240
Comment accepted as answer
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

777 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