The ItemAdd event allows you to warn the user and move the items to another folder programmatically. The user can still move or copy items to the folder, so you may want to implement the ItemAdd event on the folder that you disabled. Private Sub oExp_BeforeFolderSwitch(ByVal NewFolder As Object, Cancel As Boolean) Set oJournalFolder = Session.GetDefaultFolder(olFolderJournal) The following is the Outlook VBA code: Dim WithEvents oExp As Outlook.Explorer Implement this code as an Outlook COM add-in so that the code can be deployed. The following Outlook Microsoft Visual Basic for Applications (VBA) code illustrates how you can prevent users from switching to a folder. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs.įor more information about the support options that are available and about how to contact Microsoft, see Microsoft Support. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. Itself.Outlook 97 and Outlook 98 do not support COM add-ins therefore, you cannot create a custom solution to implement this functionality in Outlook 97 and Outlook 98. OAB lists the folder without changing the name of the folder You can change the name in this field to change how the Name field that specifies the name by which the folder appears in The Outlook Address Book tab also includes a Show This Folder As An E-mail Address Book check box, and click On the Outlook Address Book tab, deselect the.Remove from the OAB, and choose Properties. Right-click the contact folder you want to.To restart the folder, close outlook and restart it using the /resetfolders switch. 99.9 of the time I dont want to see RSS, Junk E-mail, Drafts, Outbox. Yet what a simple fix it would be to simply allow users to hide unwanted folders. To streamline the OAB, you can remove a folder I answered that default folders (like Inbox, Contacts, RSS Feeds, etc.) cant be deleted. Or she might use a second folder to keep track of personal contacts Particular contacts folder to appear under the OAB. As the user adds other contacts folders, these Only contains the default Contacts folder created when you The OAB consolidates all of the user’s contactsįolders, listing each of the contact folders. One of the items in the list is the OutlookĪddress Book (OAB). For example, the list includes the GlobalĪddress List and other Exchange Server address lists, the defaultĬontacts folder, the Personal Address Book, LDAP directory serviceĪccounts, and other contacts folders the user has created. For example, the list includes the Global Address List and other Exchange Server address lists, the default Contacts folder, the Personal Address Book, LDAP directory service accounts, and other contacts folders the user has created.ĭisplays several different contact sources in the Show Names From When you open the Address Book, Outlook displays several different contact sources in the Show Names From The drop-down list. Tech Tip: Remove a contacts folder from the Outlook Address Book
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |