Results 1 to 8 of 8

Thread: Use VBA to move an attachment to the Inbox, then open it, then forward it to .....

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Newbie
    Joined
    Feb 2020
    Posts
    5
    Location
    Quote Originally Posted by gmayor View Post
    While you can achieve the same ends with a rule and VBA you would not do so by duplicating the manual steps as described. In order to do that you would create a rule that identifies the incoming messages. However you would need to describe the attachment in order to process the correct attachment as Outlook messages contain elements VBA considers attachments but which would not be the attachment in question e.g. a graphic in a signature, emoticons etc. Attachments don't have subject lines. They are a feature of messages, so what do you mean by 'that contains a specific phrase in the attachment subject line'? What is the file format of the required attachment?
    Thanks!

    - The File Type is a .msg that contains a .ics.
    - The "specific phrase" would simply be a set of words we control that could be very unique so that the attachment was easily identifiable

    There is a 3rd party software that I am using that generates this attachment and sends it to me using a server email address. It sends the attachment (.msg with .ics) as if it was generated/sent by me. Outlook detects this and when I manually open this .msg, it sees it as an appointment and says I don't need to accept it because I am the organizer. The problem is that it doesn't show up in my calendar. After a various tests, I found that if (and only if) I drag the the .msg attachment into my inbox, open it, and press forward, outlook immediately puts it in my calendar. Ultimately, that is what I want to achieve: the appointment appearing in my calendar

    Does that make sense?
    Last edited by mbilash; 02-20-2020 at 08:14 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •