Reposition cursor in body

T

truhi

Hi,
I'm using outlook 2010 , I've created a new mail which contains an imag
and text.
I want the cursor to reposition in the body of item.
In that way, I can fill in the "To" and "cc" field, and when I click i
the content field, I can start typing in the body of item.
I created the following vba code, *Item.Body.select* Line, I get a
error

How to code a cursor can be positioned within the body of the Item?

Code
-------------------

Dim Item As MailItem
Set Item = Application.ActiveInspector.CurrentItem
Item.Body.select
Item.Body = "sentence 1" & vbNewLine & vbNewLine & _
"sentence 2"


Item.Display
 

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