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

Email Help: Sending Outlook email from Excel VBA



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 11th 10, 04:24 PM posted to microsoft.public.outlook.program_vba
Sam
external usenet poster
 
Posts: 143
Default Email Help: Sending Outlook email from Excel VBA

Hi All,

How do I select a specific property in outlook while sending email from excel?

There is an option we can set in outlook outgoing emails call "Voting buttons"
in that feature there is a custom option that we can select called "Have
replies sent to" its a checkbox. I want it checked when i send an email from
excel.

Hope i made it clear.

Thanks in advance
Ads
  #2  
Old January 11th 10, 05:26 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Email Help: Sending Outlook email from Excel VBA

If sending through the Outlook Object Model, use the MailItem.VotingOptions
property and MailItem.ReplyRecipients collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hi All,

How do I select a specific property in outlook while sending email from
excel?

There is an option we can set in outlook outgoing emails call "Voting
buttons"
in that feature there is a custom option that we can select called "Have
replies sent to" its a checkbox. I want it checked when i send an email
from
excel.

Hope i made it clear.

Thanks in advance



  #3  
Old January 11th 10, 08:06 PM posted to microsoft.public.outlook.program_vba
Sam
external usenet poster
 
Posts: 143
Default Email Help: Sending Outlook email from Excel VBA

Hey Dmitry,

Thanks for the help.

I am sending the emails through Excel. Is there a way to do it from excel?

Thanks in advance

"Dmitry Streblechenko" wrote:

If sending through the Outlook Object Model, use the MailItem.VotingOptions
property and MailItem.ReplyRecipients collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hi All,

How do I select a specific property in outlook while sending email from
excel?

There is an option we can set in outlook outgoing emails call "Voting
buttons"
in that feature there is a custom option that we can select called "Have
replies sent to" its a checkbox. I want it checked when i send an email
from
excel.

Hope i made it clear.

Thanks in advance



.

  #4  
Old January 11th 10, 08:16 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Email Help: Sending Outlook email from Excel VBA

I don't know Excel Object Model, does it have a function to send e-mails?
Why not use the Outlook Object Model?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hey Dmitry,

Thanks for the help.

I am sending the emails through Excel. Is there a way to do it from excel?

Thanks in advance

"Dmitry Streblechenko" wrote:

If sending through the Outlook Object Model, use the
MailItem.VotingOptions
property and MailItem.ReplyRecipients collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hi All,

How do I select a specific property in outlook while sending email from
excel?

There is an option we can set in outlook outgoing emails call "Voting
buttons"
in that feature there is a custom option that we can select called
"Have
replies sent to" its a checkbox. I want it checked when i send an email
from
excel.

Hope i made it clear.

Thanks in advance



.



  #5  
Old January 11th 10, 09:14 PM posted to microsoft.public.outlook.program_vba
Sam
external usenet poster
 
Posts: 143
Default Email Help: Sending Outlook email from Excel VBA

I generate reports in excel using VBA and macros and have created a button
which email the reports to respective managers once the report is ready.
Thats the reason I want it in excel.

There is no inbuilt function in excel that sends email through outlook, You
have to manually code in VBA to make it happen. I have already coded it such
that It sends the email to the respective managers with the voting buttons
option enabled, But I am struggeling with selecting this specific custom
option in voting button that I want checked when the email is sent.

I think, we can code the same way as we would code in outlook to make this
to work. But I dont know how to get this specific thing to work.

Could you please show me how it is done in outlook, So I can try and do it
in excel.

Thanks in advance

"Dmitry Streblechenko" wrote:

I don't know Excel Object Model, does it have a function to send e-mails?
Why not use the Outlook Object Model?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hey Dmitry,

Thanks for the help.

I am sending the emails through Excel. Is there a way to do it from excel?

Thanks in advance

"Dmitry Streblechenko" wrote:

If sending through the Outlook Object Model, use the
MailItem.VotingOptions
property and MailItem.ReplyRecipients collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hi All,

How do I select a specific property in outlook while sending email from
excel?

There is an option we can set in outlook outgoing emails call "Voting
buttons"
in that feature there is a custom option that we can select called
"Have
replies sent to" its a checkbox. I want it checked when i send an email
from
excel.

Hope i made it clear.

Thanks in advance


.



.

  #6  
Old January 11th 10, 10:51 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Email Help: Sending Outlook email from Excel VBA

So what is your VBA code tha tyou are having problems with?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
I generate reports in excel using VBA and macros and have created a button
which email the reports to respective managers once the report is ready.
Thats the reason I want it in excel.

There is no inbuilt function in excel that sends email through outlook,
You
have to manually code in VBA to make it happen. I have already coded it
such
that It sends the email to the respective managers with the voting buttons
option enabled, But I am struggeling with selecting this specific custom
option in voting button that I want checked when the email is sent.

I think, we can code the same way as we would code in outlook to make this
to work. But I dont know how to get this specific thing to work.

Could you please show me how it is done in outlook, So I can try and do it
in excel.

Thanks in advance

"Dmitry Streblechenko" wrote:

I don't know Excel Object Model, does it have a function to send e-mails?
Why not use the Outlook Object Model?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hey Dmitry,

Thanks for the help.

I am sending the emails through Excel. Is there a way to do it from
excel?

Thanks in advance

"Dmitry Streblechenko" wrote:

If sending through the Outlook Object Model, use the
MailItem.VotingOptions
property and MailItem.ReplyRecipients collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hi All,

How do I select a specific property in outlook while sending email
from
excel?

There is an option we can set in outlook outgoing emails call
"Voting
buttons"
in that feature there is a custom option that we can select called
"Have
replies sent to" its a checkbox. I want it checked when i send an
email
from
excel.

Hope i made it clear.

Thanks in advance


.



.



  #7  
Old January 13th 10, 08:57 PM posted to microsoft.public.outlook.program_vba
Sam
external usenet poster
 
Posts: 143
Default Email Help: Sending Outlook email from Excel VBA

I got it to work,
I just had to add this like to the code: ReplyRecipients.Add ")

Thanks for you time

"Dmitry Streblechenko" wrote:

So what is your VBA code tha tyou are having problems with?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
I generate reports in excel using VBA and macros and have created a button
which email the reports to respective managers once the report is ready.
Thats the reason I want it in excel.

There is no inbuilt function in excel that sends email through outlook,
You
have to manually code in VBA to make it happen. I have already coded it
such
that It sends the email to the respective managers with the voting buttons
option enabled, But I am struggeling with selecting this specific custom
option in voting button that I want checked when the email is sent.

I think, we can code the same way as we would code in outlook to make this
to work. But I dont know how to get this specific thing to work.

Could you please show me how it is done in outlook, So I can try and do it
in excel.

Thanks in advance

"Dmitry Streblechenko" wrote:

I don't know Excel Object Model, does it have a function to send e-mails?
Why not use the Outlook Object Model?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hey Dmitry,

Thanks for the help.

I am sending the emails through Excel. Is there a way to do it from
excel?

Thanks in advance

"Dmitry Streblechenko" wrote:

If sending through the Outlook Object Model, use the
MailItem.VotingOptions
property and MailItem.ReplyRecipients collection.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"sam" wrote in message
...
Hi All,

How do I select a specific property in outlook while sending email
from
excel?

There is an option we can set in outlook outgoing emails call
"Voting
buttons"
in that feature there is a custom option that we can select called
"Have
replies sent to" its a checkbox. I want it checked when i send an
email
from
excel.

Hope i made it clear.

Thanks in advance


.



.



.

 




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
Deleted local ost file to reset things.. now one user when sending email, gets email stuck in the Outbox (outlook 2003)... markm75 Outlook - General Queries 0 October 12th 07 01:15 AM
Send email to email addressess in Excel Sheet Darrell Outlook - Using Contacts 2 September 18th 06 12:20 PM
Sending email from source Excel spreadsheet Richard Edwards Outlook - General Queries 1 August 9th 06 07:15 PM
Email editor closes when forwarding Excel-embedded email Outlook - General Queries 0 March 18th 06 02:01 PM
Email editor closes when forwarding Excel-embedded email Outlook - Installation 0 March 18th 06 02:01 PM


All times are GMT +1. The time now is 11:39 PM.


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.