![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I'm using outlook 2010 , I've created a new mail which contains an image 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 in the content field, I can start typing in the body of item. I created the following vba code, Item.Body.select Line, I get an 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 |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
body of exception meeting gets overwritten by body of series | message recall failure delay? | Outlook - Calandaring | 0 | September 17th 08 06:56 PM |
cursor | chili gal | Outlook - Installation | 1 | July 31st 08 10:36 AM |
Move the cursor to Message Body | DG | Outlook and VBA | 1 | November 16th 07 06:53 AM |
TaskItem.Body and AppointmentItem.Body = access violation (NULL pt | Kayako Inc. | Outlook and VBA | 0 | August 14th 07 01:36 AM |
Reply in Outlook cursor on TO line instead of body of message | [email protected] | Outlook - General Queries | 0 | June 27th 06 10:21 PM |