![]() |
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 trying to write some macros to help people using public folder
favourites on Outlook 2003 - which are a real pain to get to: switch to folder list view, scroll down, open lots of windows etc. I know enough about the Outlook API to get a MAPIFolder and do Outlook.ActiveExplorer.SelectFolder Folder. This works if the "Folder List" view is selected first. Doesn't work if the "Mailbox" or "Calendar" view is applied (or any other view). How do you change the current view to the "Folder List" from VBA? I suspect it's some method against ActiveExplorer but the problem with not doing Outlook API stuff very often, is that I don't know the entire model. Thanks, Rob. |
Ads |
#2
|
|||
|
|||
![]()
How do you change the current view to the "Folder List" from VBA? I
suspect it's some method against ActiveExplorer but the problem with not doing Outlook API stuff very often, is that I don't know the entire model. Okay, got this bit sorted: Application.ActiveExplorer.ShowPane olFolderList, True Application.ActiveExplorer.SelectFolder Folder However, whilst the focus is on the Favourites folder, it's often way down the bottom. Is there a way to scroll down the folder list to force an item into view? Thanks, Rob. |
#3
|
|||
|
|||
![]()
You cannot scroll the folder list display. What you can do is set ActiveExplorer.CurrentFolder to show a particular folder, which should highlight it also in the folder list:
Set Application.ActiveExplorer.CurrentFolder = Folder There is no SelectFolder method. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Rob Nicholson" wrote in message ... How do you change the current view to the "Folder List" from VBA? I suspect it's some method against ActiveExplorer but the problem with not doing Outlook API stuff very often, is that I don't know the entire model. Okay, got this bit sorted: Application.ActiveExplorer.ShowPane olFolderList, True Application.ActiveExplorer.SelectFolder Folder However, whilst the focus is on the Favourites folder, it's often way down the bottom. Is there a way to scroll down the folder list to force an item into view? Thanks, Rob. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro to switch to calendar/contacts/tasks with folder view in navigation pane | Alex Wenzel | Outlook and VBA | 5 | September 10th 07 07:48 AM |
How do I switch from Classic View back to the new view? | DonnaVP | Outlook - Installation | 1 | March 7th 07 11:57 PM |
Outlook difficulties: Unable to switch to calendar view (does not refresh right hand side view) | Sid B | Outlook - Calandaring | 2 | November 12th 06 07:09 AM |
lost "customise view" so cannot switch from winter to summer view | hoopeybird | Outlook - Calandaring | 4 | August 17th 06 10:26 PM |
Can view be adjusted to see BOTH Shortcut List AND Folder List? | SBA Bean | Outlook - Installation | 1 | August 11th 06 12:37 AM |