Cursor Location After Running a Macro

  • Thread starter Thread starter srm
  • Start date Start date
S

srm

I'm using Outlook 2003 and creating Macros to enter repetitive notes
in contacts and tasks. I have the following code working but every
time it is run, the cursor goes to the top left of Notes for the
contact or task. Is it possible to have the cursor remain after the
text?

Public Sub RequestSoftware()

Set objItem = Application.ActiveInspector.CurrentItem
objItem.Body = objItem.Body & Format(Date, "mm/dd/yy") & "
- " & "This is my text and I want the cursor to be at the end of it" &
vbCrLf

End Sub

Thank you.

Shawn
 
Back
Top