PC Review


Reply
Thread Tools Rate Thread

Change activeexplorer to non-default folder

 
 
Chuck R
Guest
Posts: n/a
 
      29th Jul 2005
I have created an email folder within my MAPI Mailbox in addition to
the default Inbox, Tasks, Calendar and what not. I have not been able
to find a way through VBA to sucessfully move to that folder. I've
sucessfully moved to the default Inbox or Calendar but not to the email
folder named "Test" using syntax like:

Application.ActiveExplorer.CurrentFolder = _
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox)

Does anyone have any suggestions or hints that will help me move to a
non-default folder?

Thanx,

Chuck R

 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      29th Jul 2005
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
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Chuck R" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>I have created an email folder within my MAPI Mailbox in addition to
> the default Inbox, Tasks, Calendar and what not. I have not been able
> to find a way through VBA to sucessfully move to that folder. I've
> sucessfully moved to the default Inbox or Calendar but not to the email
> folder named "Test" using syntax like:
>
> Application.ActiveExplorer.CurrentFolder = _
> Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox)
>
> Does anyone have any suggestions or hints that will help me move to a
> non-default folder?
>
> Thanx,
>
> Chuck R
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
... I'd like to change the Default Folder... =?Utf-8?B?RHIuIERhcnJlbGw=?= Microsoft Excel Misc 4 11th Sep 2007 04:12 PM
how can i change my default working folder to a networked folder? =?Utf-8?B?d2l6YXJkMTE1NA==?= Microsoft Excel Misc 4 18th Apr 2007 07:29 PM
Re: Rename the default outlook folder name or change to other folder Sue Mosher [MVP-Outlook] Microsoft Outlook 0 22nd Nov 2006 11:41 PM
change the folder default folder display Kirk Microsoft Outlook Discussion 0 29th Jan 2004 04:37 PM
Change default folder Bob S Microsoft Powerpoint 2 8th Nov 2003 06:22 AM


Features
 

Advertising
 

Newsgroups
 


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