Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create Outlook contact from Qlikview

Hi all,

I'm attempting to generate a new Outlook contact from Qlikview with a macro. I have the following code;

Set spObj = CreateObject("Outlook.Application")

Set MyItem = spObj.CreateItem(olContactItem)

MyItem.Display

Even though I have oIContactItem, Qlikview opens a new message instead of a new contact...Does anyone know how to get a new contact and not a message? thanks in advance!

1 Solution

Accepted Solutions
Not applicable
Author

figured it out! here is the code:

Set spObj = CreateObject("Outlook.Application")

Set MyItem = spObj.CreateItem(2)

MyItem.Display

View solution in original post

1 Reply
Not applicable
Author

figured it out! here is the code:

Set spObj = CreateObject("Outlook.Application")

Set MyItem = spObj.CreateItem(2)

MyItem.Display