A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Changing Name of email Folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 21st 06, 08:53 PM posted to microsoft.public.outlook.program_vba
Colin
external usenet poster
 
Posts: 38
Default Changing Name of email Folder

Right now I am creating a program that searches the subject of new incoming
emails for a project number, and if it finds a project number, it checks to
see if this project already has a PST file. If the project does not have PST
file, then it creates one for the project. When it creates the folder in
outlook it calls it "Personal Folders" and I can't seem to change the name to
the project number, so if anyone can help me with that, that would be great.

Also I know how to move emails to another folder inside the inbox, but the
folder for the PST is outside the inbox and was wondering how to move the
email to that as well.
Ads
  #2  
Old June 22nd 06, 05:47 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Changing Name of email Folder

Am Wed, 21 Jun 2006 12:53:01 -0700 schrieb Colin:

Colin, simply writing the new name into Mapifolder.Name should work.

Starting from Session.Folders, you can walk through the hierarchy and get
the reference of that folder you want to move your messages to.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Right now I am creating a program that searches the subject of new

incoming
emails for a project number, and if it finds a project number, it checks

to
see if this project already has a PST file. If the project does not have

PST
file, then it creates one for the project. When it creates the folder in
outlook it calls it "Personal Folders" and I can't seem to change the name

to
the project number, so if anyone can help me with that, that would be

great.

Also I know how to move emails to another folder inside the inbox, but the
folder for the PST is outside the inbox and was wondering how to move the
email to that as well.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing default contacts folder phil Outlook - Using Contacts 6 June 9th 06 02:14 PM
Changing default views for all folder Cary Outlook - Installation 1 May 4th 06 09:09 PM
Changing mail folder to drive D:? JMF Outlook Express 5 April 5th 06 09:28 PM
Changing Contact Info in One Folder - How to apply in other folder atbioteach Outlook - Using Contacts 1 February 3rd 06 12:27 AM
Changing default folder for inserting files Kurt S. Outlook - Installation 9 January 18th 06 05:33 PM


All times are GMT +1. The time now is 03:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.