|
-
Dec 8th, 1999, 06:33 AM
#1
Thread Starter
New Member
I have an app that looks through the default Inbox for mail items that start the subject line with a certain string of characters. This works fine but my code cannot handle non-mailitem items in the Inbox (ie MeetingRequestItems or ReportItems). How can I change the code below to ensure I'm only working with MailItems in the Inbox.
*********************************
Dim olMailMsgs As Outlook.Items
Dim olMailMsg As MailItem
Set olMailMsgs = olFolderInbox.Items
for each olMailMsg in olMailMsgs
{code to process email}
next
*********************************
Any help would be appreciated!!!!! Thanks
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
|