Home > Midmarket CIO Tips > Data centers and infrastructure for the midmarket > Quick VBA script: Attachment reminder for Outlook
CIO Midmarket Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATA CENTERS AND INFRASTRUCTURE FOR THE MIDMARKET

Quick VBA script: Attachment reminder for Outlook


Serdar Yegulalp
09.19.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This tip originally appeared on SearchExchange.com, a sister site of SearchSMB.com.


VIEW MEMBER FEEDACK TO THIS TIP

Many of us have at one time or another composed an e-mail in Outlook in which we've said "I've attached the file you wanted," hit Send -- and then realized that we never attached the file. Oops!

K.C. Lemson has created a quick Visual Basic for Applications (VBA) script that helps prevent this from happening.

When a message is sent, it checks the body of the message for the word "attach" (either in whole or in part). If there's no attachment, a pop-up dialog box will appear to warn you that there's no attachment in the message.

I have modified the original script slightly so that the check for the word "attach" is case-insensitive, in case you start a sentence with the word (i.e., "Attached is the file you asked for…").

Note that to create the script, you need to first enable macros in Outlook (which is disabled by default for security reasons).

About the author: Serdar Yegulalp


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Data centers and infrastructure for the midmarket
Pricing out Windows Server 2008 for virtualization cost efficiency
Data center strategy starts with the business
Desktop and application virtualization: Lessons learned
FAQ: What is unified communications, and why would I want it?
Virtualization technology creates hosts of problems for midmarket IT shops
Virtual servers key to consolidated data center
Fixed-mobile convergence saves firms costly mobile phone charges
Virtualization the center of county's 'disaster avoidance' plan
Five tips that could change your data center
Converged networks a risky business

Email and messaging for the midmarket
Midmarket data center management guides: Tips and best practices
CIO's cost-cutting measures include move to Gmail
Midmarket firm harnesses email communication as part of disaster plan
Arts center's network infrastructure hits right note with Wi-Fi, FMC
When Microsoft shuts you down and other IT horror stories
CIOs, unified communications and the lost art of conversation
Fixed-mobile convergence saves firms costly mobile phone charges
CIOs grapple with tying Wi-Fi, VoIP into unified communications plan
Unified communications: Savvy business move or security meltdown?
Unified communications security: How safe is it?

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


is editor of the Windows Power Users Newsletter.


MEMBER FEEDBACK TO THIS TIP

This is a very useful tip, but can you explain why I get a pop-up message each time the script is executed? It asks me if I want to allow the program access. Is there some way of turning this off?
—Simon P.

******************************************

This warning comes up in different contexts depending on how Outlook is set to run scripts. If you just want to be warned once when you start Outlook, go to Tools -> Macros -> Security and select the "Medium" option (this is part of the instructions in the script).

If you're using something other than Outlook 2003 (which is what I composed the tip with), you might get slightly different behaviors.
—Serdar Yegulalp, tip author


Do you have comments on this tip? Let us know.
Related information from SearchExchange.com:

  • Reference Center: Exchange scripts and programming
  • Reference Center: Microsoft Outlook tips and resources



    Rate this Tip
    To rate tips, you must be a member of SearchCIO-Midmarket.com.
    Register now to start rating these tips. Log in if you are already a member.




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Mid-market CIO Business Solutions on Data Integrity, Unified Communications, and Virtualization
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2007 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts