

Keywords: make a folder, put an email in a folder, send an email to a folder, move a folder, move an email, sort emails, organize emails, cabinet Share This PostĬedarville offers more than 150 academic programs to grad, undergrad, and online students.

Outlook organizes folders in alphabetical order, except for the Inbox, Drafts, Sent Items, and Deleted Items folders, which appear first. If the desired folder is located inside another folder, hover over the parent folder until it expands, and then drop the email in the folder you want. To move an email to an existing folder, click on the folder and drag it to the desired folder in the navigation pane on the left side of the window.

That error will cause the error handler to go to :handleError ' If the folder doesn't exist, there will be an error in the next Set objProjectFolder = (folderName)įunction FolderExists(parentFolder As MAPIFolder, folderName As String) Set objProjectFolder = objDestinationFolder.Folders(folderName) If FolderExists(objDestinationFolder, folderName) Then Set colMatches = objRegEx.Execute(Item.Subject)įolderName = "M" & Right$("00" & Mid$(myMatch.Value, 2), 6)įolderName = Left$(myMatch.Value, 1) & Right$("00" & Mid$(myMatch.Value, 2), 6) ' Search for email subjects that contains project number (M007439, Z6312) Set objRegEx = CreateObject("VBScript.RegExp") Private Sub objInboxItems_ItemAdd(ByVal Item As Object)ĭim objProjectFolder As Outlook.MAPIFolder

Set objInboxFolder = objNameSpace.GetDefaultFolder(olFolderInbox) Here is the code: Dim WithEvents objInboxItems As Outlook.Itemsĭim objDestinationFolder As Outlook.MAPIFolder Then the new created Outlook data file would display in the left panel of your Outlook 2007 user interface.
HOW TO CREATE A FILE FOLDER IN OUTLOOK PASSWORD
If you want to password-protect your new Outlook data file, just type your password in the Password and Verify Password boxes. Files them in a project subfolder (create folder if one does not exist). Step 4: Type a name for the Outlook data file folder in Create Microsoft Personal Folders dialog.Searches subject for a M or Z project number (must be between 4-6 digits).The email should then be moved to that subfolder. If one is not found, then it should be created. You create a mailbox folder called issues and what you would like the MACRO to do is to find all emails with a string of the format issue-xxxx in the title and look for a folder under issues with that same name. You receive emails that have a "word" in the title of the email in the format of issue-xxxx, where xxxx is a 4 digit number.
