![]() |
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
|
|||
|
|||
![]()
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 |
Ads |
#2
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
newbie question | Mike Archer | Outlook and VBA | 1 | July 17th 06 10:41 PM |
Newbie question to CommandBars | Claus Schiroky | Outlook and VBA | 1 | May 10th 06 07:01 AM |
After Sending Email: Save Copy of Message to Windows Folder | Ben | Outlook and VBA | 1 | March 25th 06 08:17 AM |
Send an email copy to folder | [email protected] | Outlook - General Queries | 3 | February 16th 06 03:44 PM |
Newbie question regarding corespondance | Raffi Bearmant | Outlook - General Queries | 1 | January 11th 06 11:37 AM |