![]() |
| 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. |
|
|||||||
| Tags: again, attach, attachment, forgot |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
It's embarrassing when you send an email but forget to attach the
attachment! I'm trying to figure out how outlook could respond to a Send Event by scanning my message looking for the strings "attach" or "enclos", and if it finds any, checks to see if anything is attached. If not, it would display a message box with something like "Are forgetting your attachment, Dummy?". I'm guessing many others have been down this path. Thanks for any help. Jack |
| Ads |
|
#2
|
|||
|
|||
|
For sample VBA code to do this, http://www.outlookcode.com/codedetail.aspx?id=553
And see http://www.outlookcode.com/d/vbabasics.htm if you're just getting started with Outlook VBA. -- 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 "Jack G" wrote in message ... It's embarrassing when you send an email but forget to attach the attachment! I'm trying to figure out how outlook could respond to a Send Event by scanning my message looking for the strings "attach" or "enclos", and if it finds any, checks to see if anything is attached. If not, it would display a message box with something like "Are forgetting your attachment, Dummy?". I'm guessing many others have been down this path. Thanks for any help. Jack |
|
#3
|
|||
|
|||
|
Thanks Sue!! Jeremy's code did exactly what I wanted! Only glitch was that
I needed to add the Reference "Redemption Outlook Library" (it was called something else in the follow-up questions to Jeremy's post). Just one more question -- Am I compromising security by using Redemption? In other words, should my IT guy be OK with it? Jack "Sue Mosher [MVP-Outlook]" wrote in message ... For sample VBA code to do this, http://www.outlookcode.com/codedetail.aspx?id=553 And see http://www.outlookcode.com/d/vbabasics.htm if you're just getting started with Outlook VBA. -- 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 "Jack G" wrote in message ... It's embarrassing when you send an email but forget to attach the attachment! I'm trying to figure out how outlook could respond to a Send Event by scanning my message looking for the strings "attach" or "enclos", and if it finds any, checks to see if anything is attached. If not, it would display a message box with something like "Are forgetting your attachment, Dummy?". I'm guessing many others have been down this path. Thanks for any help. Jack |
|
#4
|
|||
|
|||
|
Redemption is quite safe. You don't really need it, though, unless you're using a version of Outlook before OL2003. IN Ol2003 and later, you can just use the Item object as in this ItemSend routine:
Write code for the Application_ItemSend event handler, e.g.: Private Sub Application_ItemSend _ (ByVal Item As Object, Cancel As Boolean) If Item.Subject = "" Then Cancel = True MsgBox "Please fill in the subject before sending.", _ vbExclamation, "Missing Subject" End If End Sub -- 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 "Jack G" wrote in message ... Thanks Sue!! Jeremy's code did exactly what I wanted! Only glitch was that I needed to add the Reference "Redemption Outlook Library" (it was called something else in the follow-up questions to Jeremy's post). Just one more question -- Am I compromising security by using Redemption? In other words, should my IT guy be OK with it? Jack "Sue Mosher [MVP-Outlook]" wrote in message ... For sample VBA code to do this, http://www.outlookcode.com/codedetail.aspx?id=553 And see http://www.outlookcode.com/d/vbabasics.htm if you're just getting started with Outlook VBA. "Jack G" wrote in message ... It's embarrassing when you send an email but forget to attach the attachment! I'm trying to figure out how outlook could respond to a Send Event by scanning my message looking for the strings "attach" or "enclos", and if it finds any, checks to see if anything is attached. If not, it would display a message box with something like "Are forgetting your attachment, Dummy?". I'm guessing many others have been down this path. Thanks for any help. Jack |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| forgot password of my outlook personal folder. How do i get data | Kannappa | Outlook - General Queries | 1 | January 18th 07 11:53 AM |
| When I signed up forgot to activate send button | taz1967 | Outlook - Installation | 1 | January 3rd 07 04:28 AM |
| Forgot my PST File Password - HELP PLEASE? | Spudy | Outlook - General Queries | 3 | November 22nd 06 01:59 PM |
| post sp2 install:forgot or never had outlook express identity pass | jsayre | Outlook - Installation | 1 | October 4th 06 11:59 PM |
| i need help regarding my e mail password as i forgot it | afia ahmed | Outlook - General Queries | 1 | August 26th 06 05:40 PM |