In the future, please give your Outlook version, because there are
significant differences between versions. Michael's advice applies to
Outlook 2007 and also Outlook 2003 with Word as the email editor. For
Outlook 2003 with the built-in editor, see
http://www.outlookcode.com/codedetail.aspx?id=1358 for a code sample that
shows how to work with the HTMLDocument and its Selection.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Bob Bridges" <(E-Mail Removed)> wrote in message
news:68622F50-C86F-4B56-AED5-(E-Mail Removed)...
>I do a respectable amount of coding in VBA/Access and /Excel, but hardly
>any
> (so far) in Outlook. From the little bit of research I did today, Outlook
> is
> a very different animal. Is there a user's guide or text that I should
> tackle before doing anything serious in VBA/Outlook?
>
> Specifically what I'm looking for is the location of the cursor. I have
> in
> mind writing a subroutine that identifies the entire paragraph in which
> the
> cursor is locating it, and setting certain formatting (typeface, size,
> color)
> for the entire paragraph. I'll be using HTML and I've a little
> familiarity
> with the DHTML object model, but the cursor location is eluding me so far.