How to close a contact

  • Thread starter Thread starter Southern at Heart
  • Start date Start date
S

Southern at Heart

I click on a contact and it opens in the normal form
I've added a button on the toolbar that I click which copies the contacts
address, and opens a new word document.

I'd also like it to go ahead and close that contact form, (close and save,
that is)
This must be easy to do, but I'm not sure how...
thanks.
 
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.
 
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.
 
Back
Top