Re: delete a folder from my contacts in Outlook VBA



There is an Explorer.DeselectFolder method. See http://msdn.microsoft.com/library/en-us/vbaol11/html/olmthDeselectFolder1..asp

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Sean" <Sean@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:D9F06893-397A-4B77-BB0E-B529575DEB1F@xxxxxxxxxxxxxxxx
>I am using VBA to create and delete folders in the default contact folder.
> This seems to be working fine - the new folder is always created and the
> items that I generate are included in the new folder.
>
> The problem is that when I go into the Contacts folder in Outlook Explorer I
> still see the old folder in My Contacts. When I click on the old entry
> Explorer says that the folder has been deleted. So how do I remove the
> reference to this folder from My Contacts.
>
> The old folder also persists in the list of folders to be used as an address
> book.
.



Relevant Pages

  • Blitzed administrator, cant get account back
    ... operating system and no changes. ... Express, Microsoft outlook, nor can I download Norton ... Console Root folder was empty. ... >I can't do a system restore or open the administrators ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Views filtered by User properties (UDFs)
    ... Author of Configuring Microsoft Outlook 2003 ... Then Created a new Form Region binded to the udf folder fields. ...
    (microsoft.public.outlook.program_forms)
  • Re: Message Rule Does Not Run VBA Procedure
    ... My folder options are set to show hidden ... Author of Configuring Microsoft Outlook 2003 ... Dim olNS As Outlook.NameSpace ... Set olMail = Nothing ...
    (microsoft.public.outlook.program_vba)
  • Re: "A rule in this public folder prevents a message this large from being posted."
    ... Does the folder have any restrictions as to what forms in can accept? ... Author of Configuring Microsoft Outlook 2003 ... Dim objDocItem As Outlook.DocumentItem ... Dim strFileType As String ...
    (microsoft.public.outlook)
  • Re: Refer original Item from new form
    ... Author of Configuring Microsoft Outlook 2003 ... Administrators, Power Users, and Developers ... since the folder could be anywhere in the ... contents of the new email for reference back in the originating Task ...
    (microsoft.public.outlook.program_forms)