Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 28th, 2008, 08:40 PM
Registered User
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Excel Macro - Send Email and Attachments

Hello All,

Can someone help with the following? Starting from an excel worksheet with the following columns.

A - Note for the "Body of the email"
B - Name of person receiving email for "Body of the email"
C - Email address of person receiving email (hyperlink)
D - Due Date
E - Signature of person sending email for "Body of the email"
F - Location source of the Microsoft Office attachment to be added to email
G - Current Date
H - Status based on Current Date to Due date (New Task Assigned, Complete - No action required, Overdue, Reminder (action within 3 days of being due)

Email with attachment would be sent out based on column H

Is there any way to over ride Outlook 2003 security reminder every time?

There is also a need to make sure all recipients received their copy.

Any assistance would be greatly appreciated.

Thanks again!

Old October 21st, 2008, 08:10 AM
JP JP is offline
Authorized User
Join Date: Apr 2008
Posts: 57
Thanks: 1
Thanked 3 Times in 3 Posts

Sorry if this response is late or useless, but there's a program called ClickYes that you can use to get around the security prompt


However this is just a workaround, you can't actually avoid the security prompt unless you recode your application using an object library like Redemption which works outside the Outlook object model.

Otherwise I have some sample code you can use to start with: http://www.codeforexcelandoutlook.com/SendMessage.html


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send Mail thru Excel Macro Abhinav Excel VBA 14 May 15th, 2011 04:02 AM
Macro to send an email with an attachment in it samputha Excel VBA 2 August 13th, 2009 09:12 PM
Need macro to send email via default mail program chutchinson Excel VBA 0 September 27th, 2007 09:28 PM
Send email from Excel Danny_n Excel VBA 18 May 16th, 2007 03:37 PM
Send It macro in excel hilding Excel VBA 2 September 6th, 2006 05:21 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.