If the contact is called item then item.Close would do it.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
I added:
Item.Save
Item.Close
to my code but that didn't do anything.
I have manually opened this contact, I mean:
I open goto my contacts, double click on a contact, then click a button on
the toolbar that I added, which copies their address, etc. ...then at the
end of that code I need it to close that contact.
I thought all contacts were 'items'. ...anyway, adding item.close didn't do
anyting.
> If the contact is called item then item.Close would do it.
>
[quoted text clipped - 6 lines]
> > This must be easy to do, but I'm not sure how...
> > thanks.
Ken Slovak - [MVP - Outlook] - 07 Mar 2008 14:23 GMT
item.Close is only if your open contact is called item. If it's called
oContact then use oContact.Close. If it's called objContact then
objContact.Close.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
>I added:
> Item.Save
[quoted text clipped - 8 lines]
> do
> anyting.