• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

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

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!
  • 2
1 Solution
bfraserAuthor Commented:
Adjusted points from 100 to 200
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.
bfraserAuthor Commented:
Comment accepted as answer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now