Solved

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

Posted on 2000-05-01
3
135 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Formula to Randomize Data Set for Time Series Visual 1 73
Mysql vs Oracle 10 120
Problem to skip loop 6 50
VBA filters 2 39
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

746 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

9 Experts available now in Live!

Get 1:1 Help Now