![]() |
Newbie question: How to copy an email item from inbox to a folder
I'm using Outlook with an Exchange server account. I'm having trouble
figuring out how to copy email items from the user's Exchange Inbox: 1. To a folder named "Clients" which is NOT a subfolder of the Inbox, i.e., the folder "Clients" in the user's mailbox at the same level as the Inbox folder. If you have the time, please also indicate how to copy an email item from the Inbox..... 2. To a folder named "Smith Enriquo" which is a subfolder of the folder "Clients" mentioned above in #1. Any tips or examples would be much appreciated. Thanks in advance for your time, energy and help. It's much appreciated. marceepoo |
Newbie question: How to copy an email item from inbox to a folder
1) Every folder has a Parent folder and a Folders collection. Get the Inbox, then get its parent, then get the parent's child folder. This would be VBA code:
Set inbox = Application.Session.GetDefaultFolder(olFolderInbox ) Set clients = inbox.Parent.Folders("Clients") Set theCopy = theItem.Copy theCopy.Move clients 2) You should be able to figure that one out yourself from the above. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Marceepoo" wrote in message ... I'm using Outlook with an Exchange server account. I'm having trouble figuring out how to copy email items from the user's Exchange Inbox: 1. To a folder named "Clients" which is NOT a subfolder of the Inbox, i.e., the folder "Clients" in the user's mailbox at the same level as the Inbox folder. If you have the time, please also indicate how to copy an email item from the Inbox..... 2. To a folder named "Smith Enriquo" which is a subfolder of the folder "Clients" mentioned above in #1. Any tips or examples would be much appreciated. Thanks in advance for your time, energy and help. It's much appreciated. marceepoo |
All times are GMT +1. The time now is 02:11 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com