Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 25th, 2007, 09:56 AM
Registered User
 
Join Date: Jul 2007
Location: , , .
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? (accountname@domain.com).?"

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 06: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



All times are GMT -4. The time now is 04:12 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.