Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy Data from Current Form to New Form in Outlook - How?

Status
Not open for further replies.

Grippen

Technical User
Sep 3, 2001
24
GB
Hi,

I'm in an Outlook Form. I want to log a new Contact in a form ("IPM.Contact.Account contact") and put it in a sub-folder and then set some of the fields within the Contact record based on data in the form I'm in.

I create the form OK by using ....

Set oCurrentFolder = Application.ActiveExplorer.CurrentFolder
Set oContactsFolder = oCurrentFolder.Folders("Customer Contacts")
Set Contacts = oContactsFolder.Items
Set NewContact = Contacts.Add("IPM.Contact.Account contact")
NewContact.Display(True)


Where I get stuck is how to put data in the new form. I started...


Set ContactCustomer = UserProperties.Find("Customer")
Newcontact.Company = ContactCustomer


... but this is wrong.

Ideas?

Thanks


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top