PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Working with pst files

Reply

Working with pst files

 
Thread Tools Rate Thread
Old 22-09-2003, 02:32 PM   #1
Michel
Guest
 
Posts: n/a
Default Working with pst files


Having finally learnt who to close a pst file I am now
having trouble setting up subfolders in the open file, the
add method just returns a message stating that the object
doen't support the property or method.

How do I add subfolders programatically to my pst.
  Reply With Quote
Old 22-09-2003, 08:04 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Working with pst files

set NewFolder = ParentFolder.Folders.Add("My New Folder")

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


"Michel" <michel.loftus@london.bartonwillmore.co.uk> wrote in message
news:a88401c3810e$07d68390$a601280a@phx.gbl...
> Having finally learnt who to close a pst file I am now
> having trouble setting up subfolders in the open file, the
> add method just returns a message stating that the object
> doen't support the property or method.
>
> How do I add subfolders programatically to my pst.



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off