![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I have a userform with a list that keeps email EntryId, Sendername, Subject , Recieved date. EntryID which is a 140 long string is in the first column (0) and is hidden. A simplified version of my code is : sub done() Dim msg As Outlook.MailItem Dim nms As Outlook.NameSpace Dim fld As Outlook.MAPIFolder Set msg = nms.GetItemFromID(lstQueue.List(indx, 0)) - generates error With msg .Subject = "DONE - " .Display End With End sub lstQueue.List(indx, 0)) correctly keeps the EntryID , but the line I showed with an arrow generates an error "Object variable or with block not set" . I can't figure out what's wrong , Any help will be greatly appriciated. I don't know if the reason for this error is not useing the storeID ? -- Best regards, Edward |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
eMail client not retrieving messages | Ron Hinds[_2_] | Outlook Express | 8 | February 20th 09 06:36 PM |
Retrieving the message and subject of email | Markus | Outlook and VBA | 1 | April 23rd 07 05:58 AM |
Retrieving exe file from email | Jerry Bujas | Outlook - General Queries | 2 | September 7th 06 12:20 PM |
Retrieving deleted email | [email protected] | Outlook - General Queries | 4 | May 11th 06 05:47 PM |
Retrieving delete email | [email protected] | Outlook - General Queries | 0 | May 10th 06 11:27 PM |