Cursor Location After Running a Macro

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top