The Premier Resource for Microsoft Collaboration Data Objects
This sample Microsoft Outlook 2000 VBA macro can be used to change the names of all Outlook default folders. If you are running Exchange Server and/or Outlook in a multi language environment it is annoying if the default folders showing up in a language other than you use with Outlook. This can happen in several cases because the Outlook default folders are created in the language of the first Outlook client that opens the particular mailbox.
This sample can be used only with Microsoft Outlook 2000 installed in 'Corporate or Workgroup Mode', using the MAPI provider to access Microsoft Exchange Server.
Make sure that Microsoft Outlook 2000 is installed in Corporate or Workgroup mode and running properly.
After installing the Outlook security update this sample will stop working properly because of changes made by Microsoft. For more info on the Outlook security update please check Outlook e-mail Security Update
Note that the Office/Outlook 2000 setup does not install CDO 1.21 by default. You need to run the Office/Outlook 2000 setup and add CDO 1.21 as custom option.
If you would like to use this sample with another language version of Microsoft Exchange Server or Microsoft Outlook, it is possible that the sample will not work without modifications. Please consult the source code for more information. This sample is built and checked for a proper function using the following environment:
|modfolder.zip (2 Kbyte) Outlook 2000 VBA macro||The Microsoft Outlook 2000 VBA macro, which can be used to
change the Outlook default folder names.|
Open the VBA macro with notepad and copy the code into the clipboard.
Open Outlook 2000 and select 'Tools', 'Macros', 'Visual Basic Editor' to open the Outlook 2000 VBA editor. Expand the 'ThisOutlookSession' in the left-hand project window and paste the code into empty the right-hand window.
Select 'Tools', 'References' in the Outlook 2000 VBA editor and make sure 'Microsoft CDO 1.21' is selected. Note that Outlook 2000 does not install CDO 1.21 by default. If you don't see it in the Outlook VBA references dialog CDO 1.21 might not be installed on your machine. If so, you have to run the Office 2000/Outlook 2000 setup from CDO-ROM again and make sure CDO 1.21 is selected.
Close the Outlook 2000 VBA editor to save the changes.
To run the Outlook 2000 VBA macro open Outlook and chose 'Tools', 'Macro', 'Macros', select the desired macro and hit 'Run'