|
-
Aug 6th, 2008, 07:59 AM
#1
Thread Starter
New Member
Importing / Updating outlook contactitems
Hi
I have a script that imports contactitems from a txt file to a public folder in outlook. Right now I'm deleting all contacts and putting them in again, but I'm trying to find a solution to update existing items records insted.
I'm doing a test on the item the the businesstelephonenumber: 75929900, but the script still write "ITEM NOT FOUND"
Can anyone see the error?
Best Regards,
Kim
sFilter = "[BusinessTelephoneNumber] = 75929900"
wscript.echo sFilter
Set CurrentFoundItem = contactFolder.Items.Find(sFilter)
' Create if new
If TypeName(CurrentFoundItem) = "Nothing" Then
wscript.echo "ITEM NOT FOUND"
Else
wscript.echo "ITEM FOUND"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|