A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

JournalItem ContactNames always empty



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old October 10th 06, 12:25 AM posted to microsoft.public.outlook.program_vba
BrammekeDotNet
external usenet poster
 
Posts: 2
Default JournalItem ContactNames always empty

Hi!

I succeeded in listing all JournalItems from my Outlook journal in
Excel. However, when I try to read the ContactNames property, it always
returns an empty string.

When I'm accessing the ContactNames property, I'm being prompted by
Outlook's "Object Model Guard" if I want to allow access or not. Of
course I allow access, but the ContactNames property stays empty.

Am I missing something here?

Set itemsCollection = folder.Items
itemsCount = itemsCollection.Count

If itemsCount 0 Then
For i = 1 To itemsCount
If TypeName(itemsCollection(i)) = "JournalItem" Then
Set journalItem = itemsCollection(i)

' Call my custom function to add the imported data to a row
AddRow journalItem.Subject, journalItem.ContactNames
End If
Next
End If

Thank you,
Bram

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty folder is 94MB! Hogweed Outlook Express 3 August 16th 06 09:54 PM
Inbox Empty Quest Outlook Express 2 August 3rd 06 09:02 PM
Empty Dialog Box Will T Outlook - General Queries 1 March 29th 06 11:06 PM
Empty From: field Jonas Outlook - General Queries 5 February 20th 06 04:15 PM
Empty Folders! Paras Shah Outlook Express 1 January 18th 06 12:03 AM


All times are GMT +1. The time now is 09:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.