A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Have Replies Sent To: VBA code



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 15th 08, 09:33 PM posted to microsoft.public.outlook.program_vba
DStrong
external usenet poster
 
Posts: 18
Default Have Replies Sent To: VBA code

OK, the scoop on my systems I am using, all machines are running XP Pro with
Office 2003 and exchange server(not sure of what version).

What we are trying to do is this, we have a group mail box that we want
people to reply to when we send them an email. We cannot send from the group
mailbox. The only way I have found to make this work is with the "Have
replies sent to" option. I have written a macro that uses sendkeys, yes I
know this is the worst way to do this. The macro causes the CAPS LOCL and NUM
LOCK to turn off when we use this macro.

I would like a cleaner way to get this done and have tried the only options
I have the main one at
http://windowsitpro.com/Articles/Ind...rticleID=15442. One other one by
Sue Mosher at
http://www.outlookcode.com/threads.a...essageid=13217 has not
worked for me either. Both give me an error saying that "sub or function not
defined" and highlights this line:
"Call AddReplyRecip"

I am at a loss as to a way to get this working. Any help from Sue would be
greatly appreciated.
Ads
  #2  
Old October 15th 08, 10:15 PM posted to microsoft.public.outlook.program_vba
JP[_3_]
external usenet poster
 
Posts: 201
Default Have Replies Sent To: VBA code

The VBA way is:

MailItem.ReplyRecipients.Add "

This will programmatically set the "Have Replies Sent To" option for
your Outlook message. I use it in the Application_ItemSend Event.

ps- do you find it awkward to have a maibox that cannot send messages?


--JP

On Oct 15, 4:33*pm, DStrong wrote:
OK, the scoop on my systems I am using, all machines are running XP Pro with
Office 2003 and exchange server(not sure of what version).

What we are trying to do is this, we have a group mail box that we want
people to reply to when we send them an email. We cannot send from the group
mailbox. The only way I have found to make this work is with the "Have
replies sent to" option. I have written a macro that uses sendkeys, yes I
know this is the worst way to do this. The macro causes the CAPS LOCL and NUM
LOCK to turn off when we use this macro.

I would like a cleaner way to get this done and have tried the only options
I have the main one athttp://windowsitpro.com/Articles/Index.cfm?ArticleID=15442. One other one by
Sue Mosher athttp://www.outlookcode.com/threads.aspx?forumid=3&messageid=13217has not
worked for me either. Both give me an error saying that "sub or function not
defined" and highlights this line:
"Call AddReplyRecip"

I am at a loss as to a way to get this working. Any help from Sue would be
greatly appreciated.


  #3  
Old October 16th 08, 02:07 PM posted to microsoft.public.outlook.program_vba
DStrong
external usenet poster
 
Posts: 18
Default Have Replies Sent To: VBA code

JP YOU ARE THE BEST!
It works like a charm. I cannot thank you enough!!!

PS we have personal mailboxes that we send from, but we do not answer those
emails if they send back to our personal box. We are only allowed to reply
from the group mailbox. It's too bad that we cannot send from the group box,
but that is the way it is.

"JP" wrote:

The VBA way is:

MailItem.ReplyRecipients.Add "

This will programmatically set the "Have Replies Sent To" option for
your Outlook message. I use it in the Application_ItemSend Event.

ps- do you find it awkward to have a maibox that cannot send messages?


--JP

On Oct 15, 4:33 pm, DStrong wrote:
OK, the scoop on my systems I am using, all machines are running XP Pro with
Office 2003 and exchange server(not sure of what version).

What we are trying to do is this, we have a group mail box that we want
people to reply to when we send them an email. We cannot send from the group
mailbox. The only way I have found to make this work is with the "Have
replies sent to" option. I have written a macro that uses sendkeys, yes I
know this is the worst way to do this. The macro causes the CAPS LOCL and NUM
LOCK to turn off when we use this macro.

I would like a cleaner way to get this done and have tried the only options
I have the main one athttp://windowsitpro.com/Articles/Index.cfm?ArticleID=15442. One other one by
Sue Mosher athttp://www.outlookcode.com/threads.aspx?forumid=3&messageid=13217has not
worked for me either. Both give me an error saying that "sub or function not
defined" and highlights this line:
"Call AddReplyRecip"

I am at a loss as to a way to get this working. Any help from Sue would be
greatly appreciated.



  #4  
Old October 16th 08, 07:30 PM posted to microsoft.public.outlook.program_vba
JP[_3_]
external usenet poster
 
Posts: 201
Default Have Replies Sent To: VBA code

Glad to hear it worked!

--JP

On Oct 16, 9:07*am, DStrong wrote:
JP YOU ARE THE BEST!
It works like a charm. I cannot thank you enough!!!

PS we have personal mailboxes that we send from, but we do not answer those
emails if they send back to our personal box. We are only allowed to reply
from the group mailbox. It's too bad that we cannot send from the group box,
but that is the way it is.



"JP" wrote:
The VBA way is:


MailItem.ReplyRecipients.Add "


This will programmatically set the "Have Replies Sent To" option for
your Outlook message. I use it in the Application_ItemSend Event.


ps- do you find it awkward to have a maibox that cannot send messages?


--JP


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call DLL code from VBScript code-behind Pavel Rosoi Outlook - Using Forms 3 June 23rd 08 06:19 PM
Have replies sent to An Chi Outlook - Using Forms 5 April 9th 08 05:46 PM
Seeing my replies Bob Outlook Express 1 August 15th 06 07:43 PM
Replies desgnr Outlook Express 8 July 28th 06 08:29 PM
code : Code : 800cccd2 scotty971fr Outlook Express 1 January 19th 06 11:59 PM


All times are GMT +1. The time now is 06:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.