Microsoft since 2005:
|Author: Michael Bauer||Homepage|
|Date: 24.03.2011||Accessed: 10441|
| || |
The Outlook object model doesn't support to set the cursor to a certain position. However, that's possible when Word is used as the e-mail editor.
Until Outlook 2003 Word was optional, since Outlook 2007 it's always used (since then this doesn't apply to emails only but to all of the item types).
The example demonstrates how to set the cursor to the end position of the message field.
Public Sub SetCursor()
Dim Ins As Outlook.Inspector
Dim Doc As Word.Document
Dim Range As Word.Range
Dim Pos As Long
Set Ins = Application.ActiveInspector
Set Doc = Ins.WordEditor
If Not Doc Is Nothing Then
Pos = Doc.Range.End - 1
Set Range = Doc.Range(Pos, Pos)
ReplyAll alerts you before unintentionally replying all, or if you are a confidential BCC recipient of the ... [more]
Access the master category list in the blink of an eye, share your categories in a network, get a reminder service, and ... [more]
SAM automatically sets the sender, signature, and folder for sent items, for instance based on the recipient ... [more]
OLKeeper reliably prevents users from closing their Outlook window and thus possibly missing reminders or ... [more]