Re: Catch multiple items hitting folder
- From: "Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx>
- Date: Mon, 6 Mar 2006 09:33:18 -0500
I would modify the PTI_Form form so that it is non-modal and can handle multiple items, maybe with a list box . Then you'd modify your ItemAdd code to check if PTI_Form is showing, show it if it is not, and add a new item to the list.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"BillyRogers" <BillyRogers@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:AB6B223C-466C-49BA-AAFC-D6AADCC0F8F3@xxxxxxxxxxxxxxxx
I have some code that notifies the user when an new item is sent to a.
specific folder, then a form pops up asking him if he wants to convert the
email to a task. It works fine exept for one thing. If he's out to lunch
and he gets more than one request it only works for the first one. It
doesn't notify him of the others. It seems to be able to handle only one at
a time.
I'm not sure what approach to take to so that it will handle multiple
requests.
here's the code that catches the email
Private Sub myOlItems_ItemAdd(ByVal item As Object)
MessageSent = item.SentOn
MessageContent = item.Body
Requestor = ParseText(item.Body, "Requestor Name:")
If item.Subject = ("Merchant Report Request") Then
Load PTI_Form
PTI_Form.Show
End If
End Sub
--
Billy Rogers
Dallas,TX
Currently Using Office 2000
- Prev by Date: Re: Bypassing an Outlook security check when accessing Outlook Calenda
- Next by Date: Re: Outlook .msg File Format
- Previous by thread: Re: Bypassing an Outlook security check when accessing Outlook Calenda
- Next by thread: Re: Outlook .msg File Format
- Index(es):
Relevant Pages
|