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 June 24th, 2003, 01:54 PM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Email Updates from Excel

I am trying to create an automated system (using a VBA macro) that will download production data from our company database after the end of a shift and automatically Email this data to a select list of people (namely, Senior Operations Management).

When I do this manually in EXCEL using the "Send To ..." command everything goes fine. When this is done under macro control I get a dialog box (titled "Microsoft Outlook") that says: "A program is trying to automatically send e-mail on your behalf. Do you want to allow this?". I need to click "Yes" manually (after a five second delay) to proceed. Needless to say, I don't want to have to be at work to click the button at 11 pm (or 7 am!). I've tried various security level settings on both Excel and Outlook with no success.

I realize that there are "virus concerns" here, but is there anyway to send Email automatically from a "trusted source"?

I would appreciate your comments and suggestions ...

Thanks!

Peter
 
Old August 20th, 2003, 07:09 AM
Authorized User
 
Join Date: Aug 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Peter,

Suggest you view the code snippets relating to Automation on the page at http://www.vba-programmer.com

CarlR






Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Excel to Email krose Excel VBA 0 November 14th, 2007 12:42 PM
Email with Excel kalebson Excel VBA 1 January 2nd, 2007 06:02 AM
Email Register for Updates HelpWanted ASP.NET 1.0 and 1.1 Basics 3 October 31st, 2006 04:29 PM
Check if user is registered for email updates brettdalldorf ASP.NET 1.0 and 1.1 Basics 4 July 8th, 2005 10:01 AM
Handle Email UPdates sanjeet General .NET 0 February 2nd, 2005 05:18 PM





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