By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,849 Members | 2,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,849 IT Pros & Developers. It's quick & easy.

Writing to exchange contactitem fails

P: n/a
I'm updating exchange server from an access database using
outlook.application. It all runs just fine until I reach writing to the
email-fields. I can't set Email1Adress to a simple string. I get the error
"Object doesn't support this property or method"

MyItem.FullName = rstNavAfd!KassererNavn & " " &
rstNavAfd!KassererNavn2
MyItem.JobTitle = "Kasserer"
varLook = DLookup("E_mail", "navDebitor", "Nummer = '" &
rstNavAfd!KassererNummer & "'")
If (Not IsNull(varLook)) And varLook <> "" Then
MyItem.Email1Adress = varLook ' Here it goes
wrong !!!!
End If

Can anybody help?
regards
Jakob
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.