Closed Thread
Results 1 to 6 of 6

Delete sent e-mail from outlook in excel VBA

  1. #1
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Question Delete sent e-mail from outlook in excel VBA

    Hi There,

    Is it possible to delete an e-mail from the sent items box in outlook from an excel sub routine?

    I'm basing the idea on delete the mail with a certain Subject for this sake lets just say the subject is "This One Silly".

    Cheers for any help guys & dolls
    Last edited by Macdave_19; 07-22-2010 at 11:45 AM.
    Mr MaGoo
    Magoo.Inc MMVII

    If i've helped please add to my Rep by Clicking on the Blue Scales in the top right hand corner of the post

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Delete sent e-mail from outlook in excel VBA

    You probably want to take my efforts at Outlook Coding with a pinch of salt but I think this will search through the selected folder and delete items with the specified subject:

    Please Login or Register  to view this content.

    Hope it helps,

    Dom
    Last edited by Domski; 07-22-2010 at 11:38 AM.
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Delete sent e-mail from outlook in excel VBA

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Re: Delete sent e-mail from outlook in excel VBA

    Cheers to booth of you, very helpful

  5. #5
    Registered User
    Join Date
    06-03-2005
    Posts
    3

    Re: Delete sent e-mail from outlook in excel VBA

    Gents,

    After thanking you for you help, Can I need more 2 favors

    1-Can it be without showing outlook dialog box?
    2-It move the message to "Deleted item folder", Can't it be deleted permanently?

    Thankful in advance

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Delete sent e-mail from outlook in excel VBA

    khaledocom
    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1