![]() |
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
|
|||
|
|||
![]()
Here's a real easy one. I'm trying to re-enable the display of email as it
comes it if it is being delivered to a particular mail folder but I've forgotten how to do that. I've got the system to recognize when email arrives to the default folder, but that's not the right one. The folder I actually want is Inbox\CTSx Team. The folder I'm actually getting is Inbox. My macro looks something like this: Private WithEvents CTSxEmail as Outlook.Items Private Sub Application_Startup Set CTSxEmail = Application.Session.GetDefaultFolder( olFolderInbox).Items End Sub -- Richard Lewis Haggard www.Haggard-And-Associates.com |
#2
|
|||
|
|||
![]()
Am Mon, 3 Apr 2006 11:39:00 -0400 schrieb Richard Lewis Haggard:
Set CTSxEmail = Application.Session.GetDefaultFolder( olFolderInbox).Folders("CTSx Team").Items -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Here's a real easy one. I'm trying to re-enable the display of email as it comes it if it is being delivered to a particular mail folder but I've forgotten how to do that. I've got the system to recognize when email arrives to the default folder, but that's not the right one. The folder I actually want is Inbox\CTSx Team. The folder I'm actually getting is Inbox. My macro looks something like this: Private WithEvents CTSxEmail as Outlook.Items Private Sub Application_Startup Set CTSxEmail = Application.Session.GetDefaultFolder( olFolderInbox).Items End Sub |
#3
|
|||
|
|||
![]()
Works beautifully. Thanks for the speedy (and useful!) answer.
-- Richard Lewis Haggard www.Haggard-And-Associates.com "Michael Bauer" wrote in message news ![]() Am Mon, 3 Apr 2006 11:39:00 -0400 schrieb Richard Lewis Haggard: Set CTSxEmail = Application.Session.GetDefaultFolder( olFolderInbox).Folders("CTSx Team").Items -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Here's a real easy one. I'm trying to re-enable the display of email as it comes it if it is being delivered to a particular mail folder but I've forgotten how to do that. I've got the system to recognize when email arrives to the default folder, but that's not the right one. The folder I actually want is Inbox\CTSx Team. The folder I'm actually getting is Inbox. My macro looks something like this: Private WithEvents CTSxEmail as Outlook.Items Private Sub Application_Startup Set CTSxEmail = Application.Session.GetDefaultFolder( olFolderInbox).Items End Sub |
#4
|
|||
|
|||
![]()
To get a non-default folder, you need to walk the folder hierarchy using the Folders collections or use a function that does that for you. See http://www.outlookcode.com/d/code/getfolder.htm
-- 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 "Richard Lewis Haggard" HaggardAtWorldDotStdDotCom wrote in message ... Here's a real easy one. I'm trying to re-enable the display of email as it comes it if it is being delivered to a particular mail folder but I've forgotten how to do that. I've got the system to recognize when email arrives to the default folder, but that's not the right one. The folder I actually want is Inbox\CTSx Team. The folder I'm actually getting is Inbox. My macro looks something like this: Private WithEvents CTSxEmail as Outlook.Items Private Sub Application_Startup Set CTSxEmail = Application.Session.GetDefaultFolder( olFolderInbox).Items End Sub -- Richard Lewis Haggard www.Haggard-And-Associates.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
inbox as default folder in OL 2003 | [email protected] | Outlook - General Queries | 0 | March 28th 06 08:34 PM |
Inbox and local folder posts have all disappeared | QUAA | Outlook Express | 1 | March 2nd 06 04:17 PM |
how do i email the entire contents of inbox folder at once | jackchapin | Outlook - General Queries | 1 | January 23rd 06 12:25 PM |
Inbox folder in newsgroups??? | Louie T Lizard | Outlook Express | 2 | January 21st 06 04:44 AM |
Message goes to Deleted Items folder instead of Inbox folder | needhelp | Outlook Express | 3 | January 17th 06 05:49 PM |