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

Outlook 2007 Macro for replying to an e-mail.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 10th 10, 10:38 PM posted to microsoft.public.outlook.program_vba
Snoopyb98
external usenet poster
 
Posts: 2
Default Outlook 2007 Macro for replying to an e-mail.

I'm looking for macro script that would do the following:

Run from an e-mail, creating a reply, change the subject, change the message
type to html, copy text from a draft, paste into the body.

any ideas?
Thanks,

Ads
  #2  
Old May 11th 10, 10:43 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Outlook 2007 Macro for replying to an e-mail.



The current message is Application.ActiveInspector.CurrentItem. For an email
it returns a MailItem object.


See MailItem in the object browser (f2), which tells you what properties and
functions are available. For instance, there's a Reply function that returns
a new MailItem object. It supoprts Subject, BodyFormat etc.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Mon, 10 May 2010 13:38:01 -0700 schrieb Snoopyb98:

I'm looking for macro script that would do the following:

Run from an e-mail, creating a reply, change the subject, change the

message
type to html, copy text from a draft, paste into the body.

any ideas?
Thanks,

 




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
Auto responder replying to wrong emails (Rules - Replying using specific temp) curb Outlook - General Queries 3 November 4th 09 01:55 PM
Outlook 2007 display issue when replying Deebee[_2_] Outlook - General Queries 3 September 2nd 09 08:40 PM
collapse a specific mail folder from a macro in Outlook 2007 udo Outlook and VBA 6 February 5th 09 09:26 AM
collapse a specific mail folder from a macro in Outlook 2007 udo Outlook - General Queries 2 February 2nd 09 03:08 PM
Macro to rename Subject of E-mail on exchange server(2007) Ryan Arnold Outlook and VBA 4 October 6th 08 04:30 AM


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