Outlook Calendar Folder

  • Thread starter Thread starter tony wong
  • Start date Start date
T

tony wong

how to make the outlook to go to specified Outlook Calendar Folder at public
folder.

Thanks a lot.
 
Set objOutlook.ActiveExplorer.CurrentFolder = whatever the MAPIFolder
reference is to that PF.
 
If I use the left or right arrow to move to a new day, is there any means of getting the day of the week from the object model?

--

Thanks,
Dennis
Set objOutlook.ActiveExplorer.CurrentFolder = whatever the MAPIFolder
reference is to that PF.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
 
Thanks Ken

How can i know know the folderID of the folder under the public folder? i
checked through the Exchange server 2003 and not found any ID stuff in the
properties of the folder.

Now i can only go down to the public folder, not its sub folder by the
following script. Thanks a lot.


********************
Set myNameSpace = Application.GetNamespace("MAPI")
Set Application.ActiveExplorer.currentfolder =
myNameSpace.GetDefaultFolder(olPublicFoldersAllPublicFolders)
*******************
 
i run the following script to locate the folder under the public folder

is it the way i should go? Thanks a lot.


************************
Set myNamespace = Application.GetNamespace("MAPI")
Set abc = myNamespace.GetDefaultFolder(olPublicFoldersAllPublicFolders)

For Each objfolder In abc.Folders
If objfolder.Name = "ABCD" Then
Set Application.ActiveExplorer.currentfolder = objfolder
End If
Next
 
No, you can't find that out.




If I use the left or right arrow to move to a new day, is there any means
of getting the day of the week from the object model?
 
That will work, although the property you are using doesn't exist in older
versions of Outlook.

To find a subfolder of a folder under "ABCD" you would use objfolder.Folders
and so on.

Once you have a folder you would use objfolder.EntryID to get the ID of the
folder.
 
Back
Top