![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi There,
I need your help to prepare a macro for me to purge the message from outlook. We have already set up in outlook that when ever we type "purge" in Follow up flag & press enter it purge the message automatically but that we have to do manually therefore we need your assistance to prepare a macro which help us to delete10 messages at time by using vb script. Appreciate your kind assistance. Thanks & Best Regards, Kam. |
Ads |
#2
|
|||
|
|||
![]()
By purge do you mean permanently delete? If, the Outlook Object Model
doesn't support this; all deleted items go to the Deleted Items folder. You'd have to use CDO or Redemption (http://www.dimastr.com) to permanently delete an item. Have you tried looping through the Items collection of the current folder (ActiveExplorer.CurrentFolder) and looking at the value of the MailItem.FlagRequest property to see if it should be deleted? -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Kam" wrote: Hi There, I need your help to prepare a macro for me to purge the message from outlook. We have already set up in outlook that when ever we type "purge" in Follow up flag & press enter it purge the message automatically but that we have to do manually therefore we need your assistance to prepare a macro which help us to delete10 messages at time by using vb script. Appreciate your kind assistance. Thanks & Best Regards, Kam. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
purge old calendar items | jakjak | Outlook - Calandaring | 1 | September 17th 06 04:25 AM |
edit message macro | BorisS | Outlook and VBA | 1 | June 19th 06 06:28 AM |
Outlook 2007: Purge Deleted Items doesn't work | [email protected] | Outlook - General Queries | 8 | May 31st 06 08:51 AM |
Outlook: Auto-purge via IMAP. | thekman | Outlook - Installation | 1 | February 21st 06 05:27 PM |
Macro within a Mail Message | Tia | Outlook and VBA | 1 | February 7th 06 03:47 PM |