![]() |
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 would like to write a piece of text inside of the message body, using a certain font, without losing the rest of the mail. I tried this using objItem.Body = "a piece of text" but then I lose all the rest, signature included. Using settext and gettext + the clipboard I lose all formatting of the copied body text. Is there a way to write a piece of text at the cursor location without losing all the body text ? |
Ads |
#2
|
|||
|
|||
![]()
Outlook version? If Outlook 2003 or earlier, is Word the email editor?
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 " Screaming Eagles 101" wrote in message ... Hi, I would like to write a piece of text inside of the message body, using a certain font, without losing the rest of the mail. I tried this using objItem.Body = "a piece of text" but then I lose all the rest, signature included. Using settext and gettext + the clipboard I lose all formatting of the copied body text. Is there a way to write a piece of text at the cursor location without losing all the body text ? |
#3
|
|||
|
|||
![]()
Is indeed 2003 and I write my mails directly in Outlook
"Sue Mosher [MVP]" wrote in message ... Outlook version? If Outlook 2003 or earlier, is Word the email editor? -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 " Screaming Eagles 101" wrote in message ... Hi, I would like to write a piece of text inside of the message body, using a certain font, without losing the rest of the mail. I tried this using objItem.Body = "a piece of text" but then I lose all the rest, signature included. Using settext and gettext + the clipboard I lose all formatting of the copied body text. Is there a way to write a piece of text at the cursor location without losing all the body text ? |
#4
|
|||
|
|||
![]()
You have to use a line like this:
objItem.Body = "a piece of text" & objItem.Body --JP On Nov 13, 5:29*am, " Screaming Eagles 101" wrote: Hi, I would like to write a piece of text inside of the message body, using a certain font, without losing the rest of the mail. I tried this using objItem.Body = "a piece of text" but then I lose all the rest, signature included. Using settext and gettext + the clipboard I lose all formatting of the copied body text. Is there a way to write a piece of text at the cursor location without losing all the body text ? |
#5
|
|||
|
|||
![]()
If you're using the Outlook editor and not the Word editor, then you have to
use different approaches for HTML and RTF messages. For HTML, use Inspector.HTMLEditor, as demonstrated in the sample at http://www.outlookcode.com/codedetail.aspx?id=1358. For RTF, you'd have to use the SafeInspector object from the third-party Outlook Redemption library. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 " Screaming Eagles 101" wrote in message ... Is indeed 2003 and I write my mails directly in Outlook I would like to write a piece of text inside of the message body, using a certain font, without losing the rest of the mail. I tried this using objItem.Body = "a piece of text" but then I lose all the rest, signature included. Using settext and gettext + the clipboard I lose all formatting of the copied body text. Is there a way to write a piece of text at the cursor location without losing all the body text ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
can't write into message form body | [email protected] | Outlook - Using Forms | 1 | July 19th 07 06:18 PM |
I can't write any text | Pablo Casaubon | Outlook - General Queries | 2 | May 20th 07 04:00 PM |
Write RTF-Body on ItemSend event | Thomas | Add-ins for Outlook | 2 | February 12th 07 12:22 PM |
Mail Merge - Format/Send Text and HTML Format | srm | Outlook - General Queries | 0 | January 17th 07 07:15 PM |
taille de ma piece jointe ou d'un document que je recois en piece jointe | christian CHARLOT | Outlook Express | 1 | February 22nd 06 03:00 PM |