PC Review


Reply
Thread Tools Rate Thread

automatically enter salutation.

 
 
=?Utf-8?B?Y2hpZWtv?=
Guest
Posts: n/a
 
      1st Nov 2005
Is there a way to program out look to print the recipients name in the text of
the message...I'm really lazy.
So, when I respond to someone I'd like their name to be included in the text
like:

Mike,
<my message begins here>

 
Reply With Quote
 
 
 
 
Michael Bauer
Guest
Posts: n/a
 
      2nd Nov 2005
Am Tue, 1 Nov 2005 12:32:03 -0800 schrieb chieko:

Mike, the problem is to get the point when the recipient is entered. You
could use the PropertyChange event but for that youŽd have to save the mail
after entering the recipient. That in turn would require more work to cancel
an e-mail (youŽd have to delete the draft manually).

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook

> Is there a way to program out look to print the recipients name in the

text of
> the message...I'm really lazy.
> So, when I respond to someone I'd like their name to be included in the

text
> like:
>
> Mike,
> <my message begins here>

 
Reply With Quote
 
=?Utf-8?B?Y2hpZWtv?=
Guest
Posts: n/a
 
      3rd Nov 2005
I'm not sure i understand. is there a way to just automatically insert
'hello' when you reply to a message?
Thanks,
Chieko

"Michael Bauer" wrote:

> Am Tue, 1 Nov 2005 12:32:03 -0800 schrieb chieko:
>
> Mike, the problem is to get the point when the recipient is entered. You
> could use the PropertyChange event but for that youÂŽd have to save the mail
> after entering the recipient. That in turn would require more work to cancel
> an e-mail (youÂŽd have to delete the draft manually).
>
> --
> Viele Gruesse / Best regards
> Michael Bauer - MVP Outlook
>
> > Is there a way to program out look to print the recipients name in the

> text of
> > the message...I'm really lazy.
> > So, when I respond to someone I'd like their name to be included in the

> text
> > like:
> >
> > Mike,
> > <my message begins here>

>

 
Reply With Quote
 
Michael Bauer
Guest
Posts: n/a
 
      4th Nov 2005
Am Thu, 3 Nov 2005 12:50:14 -0800 schrieb chieko:


ItŽs possible. The MailItem object provides you with an Reply event. For
being able to track every MailItem that could be replied to you need an
Explorer wrapper (http://www.microeye.com/resources/itemsCB.htm) and an
Inspector wrapper
(http://www.slovaktech.com/code_sampl...spectorWrapper).

Once you have set up that you can catch the Reply button event. HereŽs a
sample of how to get a reference on the Reply button for an opened
Inspector:

' Storing the button ref in this member enables you to receive its events.
Private WithEvents ReplyButton As Office.CommandBarButton

Private Sub SampleHowToGetTheRef()
Set ReplyButton = Application.ActiveInspector.CommandBars.FindControl(,
354)
End Sub

Private Sub ReplyButton_Click(ByVal Ctrl As Office.CommandBarButton,
CancelDefault As Boolean)
' This event fires if the button is clicked
End Sub

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



> I'm not sure i understand. is there a way to just automatically insert
> 'hello' when you reply to a message?
> Thanks,
> Chieko
>
> "Michael Bauer" wrote:
>
>> Am Tue, 1 Nov 2005 12:32:03 -0800 schrieb chieko:
>>
>> Mike, the problem is to get the point when the recipient is entered. You
>> could use the PropertyChange event but for that youŽd have to save the

mail
>> after entering the recipient. That in turn would require more work to

cancel
>> an e-mail (youŽd have to delete the draft manually).
>>
>> --
>> Viele Gruesse / Best regards
>> Michael Bauer - MVP Outlook
>>
>>> Is there a way to program out look to print the recipients name in the

>> text of
>>> the message...I'm really lazy.
>>> So, when I respond to someone I'd like their name to be included in the

>> text
>>> like:
>>>
>>> Mike,
>>> <my message begins here>

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically removing Enter key Clarendon Microsoft Word Document Management 25 15th Sep 2009 08:00 PM
Automatically Enter Parameter Value m299600 Microsoft Access Reports 2 24th Jul 2009 12:38 AM
How can I enter a 'tick' automatically in a box. =?Utf-8?B?YW5uZWo=?= Microsoft Excel Worksheet Functions 2 15th Oct 2007 10:09 PM
Automatically enter XML into Excel? =?Utf-8?B?Q2hyaXMgT3Jy?= Microsoft Excel Misc 0 7th Jun 2006 03:05 PM
Automatically enter password =?Utf-8?B?TmF6?= Microsoft Excel Programming 2 16th May 2005 12:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:11 AM.