Wrox Programmer Forums
|
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 July 25th, 2007, 09:56 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Outlook

Ok this should be very simple. First I would like to say that I put this here because I didn't see any outlook forum, so I know I put it in excel when it is not but I know people here would know the answer.

I want to set up vbscript code in outlook form that when the send button is hit, a msgbox appears asking "are you sure you want to send from this account? ([email protected]).?"

I don't know vbscript well but I figured out how to get it to pop up the msgbox and ask the question, and I figured out how to make it not send if No is clicked. The question is, how do I put in the account name into there? I don't know how to call it. Basically, there are 10 e-mail accounts set up in outlook, and if I send a message that is supposed to go from one account, and I used the default by mistake, I want to have that warning before I actually mail out the e-mail. I want to be able to see what account it is sending from so I can choose yes or no if I want to still send or to cancel the send and change the account name. Anyone know?????

Thank you





Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook jdhock8865 Beginning VB 6 3 July 9th, 2008 12:01 PM
Using Outlook JAnthony Access VBA 0 May 18th, 2006 03:13 PM
VB6 Outlook help Glyphed Beginning VB 6 3 March 21st, 2006 07:00 AM
Outlook Help ksrmramu Classic ASP Components 0 August 22nd, 2005 07:28 AM
Outlook dinkelfwat Pro VB 6 0 August 20th, 2003 08:19 AM





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