A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , ,

automatically move item from one folder to another folder





 
 
Thread Tools Display Modes
  #1  
Old January 22nd 07, 09:10 AM posted to microsoft.public.outlook.program_vba
Venkat
external usenet poster
 
Posts: 1
Default automatically move item from one folder to another folder

How we create rules and alerts to transfer the item item from one folder to
another folder automatically

Regards,

Venkat
Ads
  #2  
Old January 22nd 07, 05:01 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 817
Default automatically move item from one folder to another folder

Rules can only be created in code with Outlook 2007. Otherwise, you need to
monitor the ItemAdd event for an Items collection declared globally in a
module using the WithEvents keyword. The Items collection needs to be set to
the MAPIFolder.Items collection of the folder you want to monitor.

Keep in mind that if large amounts of items are submitted to a folder at the
same time (usually greater than 16), there is a good chance it will not be
caught by the ItemAdd event.

A more complicated but better alternative for Exchange Server deployments is
to build an Event Sink.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Venkat" wrote:

How we create rules and alerts to transfer the item item from one folder to
another folder automatically

Regards,

Venkat

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy mail item to one folder and then move it to another folder LDMueller Outlook - Using Forms 1 September 15th 06 04:15 PM
After I've moved a note from Inbox to folder A, I can't move it to Folder B. david.f.jenkins@usa.net Outlook - General Queries 0 August 9th 06 11:46 PM
why do messages move to deleted folder automatically? Joshua51 Outlook - General Queries 1 August 1st 06 07:25 PM
Public folder calendar item automatically copied to private calendar ? Manuelp Outlook - General Queries 6 June 27th 06 10:56 PM
automatically move spam emails to a junk folder Tony Young Outlook - General Queries 5 February 18th 06 02:53 PM


All times are GMT +1. The time now is 05:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Credit Cards UK - Loans - Mobile Phones - Web Advertising - Personal Injury Attorney Los Angeles