Is It possible to create (multible) public folders with a VBA script

  • Thread starter Thread starter Bjarne Hansen
  • Start date Start date
B

Bjarne Hansen

Hi Group

I'm rather new in VBA, but I a have task
creating multible public folders.

So I wonder it it's possible to do this in af VBA-script


Greetings

B. Hansen, Denmark
MCP (not in VBA)
 
Sure, call Namespace.GetDefaultFoldder(olPublicFoldersAllPublicFolders) to
get the root PF folder, navigate to the folder where you want to create a
subfolder (e.g. SubFolder = OtherFolder.Folders("Sub FolderName")), then add
a subfolder using MAPIFolder.Folders.Add.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top