Re: How to insert text at cursor position in mailitems body

From: Frank M (FrankM_at_discussions.microsoft.com)
Date: 01/14/05


Date: Fri, 14 Jan 2005 05:17:02 -0800

Thanks, that was most helpful.

Best regards,

Frank M.

"Sue Mosher [MVP-Outlook]" wrote:

> You cannot insert text at the cursor with Outlook objects, because Outlook
> exposes no object related to the insertion point. If WordMail is the editor,
> you can use Word automation; see
> http://www.outlookcode.com/codedetail.aspx?id=455 for a code sample.
> Otherwise, you can use Redemption's SafeInspector object (
> http://www.dimastr.com/redemption/safeinspector.htm )
>
> --
> Sue Mosher, Outlook MVP
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "Frank M" <FrankM@discussions.microsoft.com> wrote in message
> news:CAD6531B-701E-413D-A59A-58371D647262@microsoft.com...
> > Via the body property of the Mailitem object you can manipulate the text
> > of
> > the mailbody. I am wondering, however, if it is possible to insert text at
> > the current position of the cursur in the mail body.
> > This is relevant when your application first create the mail and opens the
> > mailwindow for the user, let them write the general mail and then finally
> > have options through your application to insert different texts according
> > to
> > the user's choice in your application window.
> >
> >
> > Best regards,
> >
> > Frank M.
>
>
>



Relevant Pages

  • Re: How to insert text at cursor position in mailitems body
    ... You cannot insert text at the cursor with Outlook objects, ... Administrators, Power Users, and Developers ... "Frank M" wrote in message ... > Via the body property of the Mailitem object you can manipulate the text ...
    (microsoft.public.outlook.program_vba)
  • Antwort: Antwort: AW: Antwort: AW: Antwort: Re: strange ICMP - packets from node
    ... Best regards, ... Bitte antworten an IBM AIX Discussion List ... Hi frank, ... in error) please notify the sender immediately and destroy this e-mail. ...
    (AIX-L)
  • Re: excel page numbers
    ... I guess you (Frank) were commenting on it and not the author. ... > "Tom Ogilvy" schrieb im Newsbeitrag ... >> Regards, ... >>>>> want in a cell in that range. ...
    (microsoft.public.excel.programming)
  • Re: Compatability?
    ... Thanks for the quick reply Ralph. ... Best Regards ... Frank ... >> My company has presently some computer problems, ...
    (microsoft.public.vb.general.discussion)
  • Re: TypeConverters do not work
    ... Niki ... > Hi Frank, ... > Visual Studio doesn't produce any code for a type that's not marked as ... >> Regards, ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)