OL2003: how to make a button to jump & open a public folder?

  • Thread starter Thread starter Atrider
  • Start date Start date
A

Atrider

Is it possible to make a button in Outlook 2003 which opens a specific
public folder whithin the "Folder list" and navigate to into it?

I would like to get something similar like the old Outlook 2000 bar
feature.

What do I have to do for this, which code is necessary? I am not a
programmer and have no experience with VBA.

Thanks for any helpful feedback

Regards
Klaus
 
Yes, it's possible, the code would look something like this

Public Sub GoToFolder()
Set myFolder = GetFolder("Public Folders\All Public Folders\Any Folder\Any Subfolder")
If Not myFolder Is Nothing Then
Set Application.ActiveExplorer.CurrentFolder = myFolder
Else
MsgBox "Folder not found"
End If
End Sub

where GetFolder() is a function you'll find at http://www.outlookcode.com/d/code/getfolder.htm

If you're new to Outlook VBA macros, these web pages should help you get started:

http://www.winnetmag.com/Articles/Index.cfm?ArticleID=21522&pg=1
http://www.outlookcode.com/d/vb.htm
 
Back
Top