|
-
April 9th, 2001, 10:37 AM
#1
command Button to Outlook public folder
All,
Anybody out there have some idea on how to create a command button script in VB which will direct to link to the outlook public folder .
-
April 9th, 2001, 11:02 AM
#2
Re: command Button to Outlook public folder
Hi Sui Onn,
I use the below method to open a folder in Outlook.
Public olap As New outlook.Application
Public olns As NameSpace
Public oloneap, curfolder As Object
Public olappts As outlook.MAPIFolder
Set olns = olap.GetNamespace("MAPI")
Set curfolder = olns.Folders("Public Folders").Folders("All Public Folders").Folders("UK").Folders("Sage Software Ltd")
As you can see you can use the .Folders() to drill down as far as you need.
Hope this helps.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|