|
-
Jul 16th, 2009, 04:23 PM
#1
Thread Starter
Member
[OUTLOOK] Trying to run a sub on send
I created a sub procedure that will update the names of the recipients in the To line of an email so that it will be in the LastName, FirstName format if it doens't start that way.
I would like to know if there is a way to run this sub upon clicking of the send button or on a lostfocus event from the To line.
Any help would be greatly appreciated
I am using Outlook 2007.
Thanks,
Garrett
Last edited by osulliga; Jul 17th, 2009 at 12:53 PM.
-
Jul 17th, 2009, 02:01 AM
#2
Re: [OUTLOOK] Trying to run a sub on send
I have posted an example here
http://www.vbforums.com/showthread.php?t=564300
on how to capture that
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jul 17th, 2009, 11:34 AM
#3
Thread Starter
Member
Re: [OUTLOOK] Trying to run a sub on send
I tried the sample that you had posted in the other thread and it worked fine, but when I used the code that I need with my criteria the Check Names dialog box is popping up before my code has a chance to run. I have even disabled the Auto Name Checking checkbox under options and the box still pops up.
Does anyone know away around this dialog box?
And Thank you to Koolsid for the post, that helped clear a few things up for me.
Garrett
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|