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

How to Create Buttons in email body / toolbar



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old January 2nd 10, 03:57 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to Create Buttons in email body / toolbar

You would need to insert your own button to the Explorer or Inspector
toolbar (CommandBar) and then write code in the button event handler that
takes the contents of the currently selected e-mail
(Application.ActiveExplorer.Selection collection) and performs the
appropriate action on it - create new message using Application.CreateItem
or MailItem.Reply, populate its properties, display it using
MailItem.Display.
http://www.outlookcode.com/ is good place to start...

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

Yes, I want buttons on the email body or the tool bar.

I am trying to design a process where I will be receiving emails from lots
of people in my company and so Want to create two buttons "Accept" and
"Reject"

So, Once I click Accept: I want to send and email back to the receipend
saying "the request has been accepted"

If I click Decline: I want to send an email back to the receipent saying
"the request has been rejected" and the reason why it has been rejected.

Can this be done in outlook?
any help would be appretiated

Thanks in Advance


"Dmitry Streblechenko" wrote:

Do you mean buttons on the Outlook Inspector used to display the message
details (as opposed to teh Explorer which lists the messages in a
folder)?

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

Is is possible to create buttons in outlook email body?

For eg: I want to create "Accept" and "Decline" Buttons that would
populate
the content from the email body into an excel sheet.

Is this possible? If yes, how do I go on with it? Please Help.

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
design buttons in email body sam Outlook and VBA 1 July 7th 09 08:43 PM
Adding custom buttons to the Standard toolbar versus a custom toolbar [email protected] Add-ins for Outlook 2 October 9th 08 05:13 PM
Toolbar buttons widening through VNC Jonathan R.-Brochu Outlook Express 2 August 24th 07 09:34 PM
Create email with body and doc attachment ms Outlook and VBA 1 January 18th 07 05:56 AM
Toolbar Buttons Unresponsive Brad Brening Outlook Express 2 October 4th 06 01:38 PM


All times are GMT +1. The time now is 11:38 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.