I'd like to create a vbs script which could load specific data from a file..
name, lastname, e-mail
john, smith, world, email@example.com
and so on..
and then create a new contact in outlook application using those values.
To create a new contact i could you sth like this:
Const olContactItem = 2a
Dim objOutl, objContact
Set objOutl = WScript.CreateObject("Outlook.Application")
Set objContact = objOutl.CreateItem(olContactItem)
objContact.FirstName = "john"
objContact.LastName = "smith"
objContact.Email1Address = "firstname.lastname@example.org"
But i'm not able to create a procedure which could load that data from a file, could you please help me with that.
VBScript - load data from a file and save a contact in Outlook
Duplicate of VBScript - load a data from a file and create a new Outlook contact!. Thread closed.