G
Gabriel Fineman
I am using Outlook 2007 with VBA.
I Dim objDoc As Word.Document to set it up for the Word Object Model.
Then I Set objDoc = ActiveInspector.WordEditor to get the Word Object Model of the current mail item.
But then I do not see anything inside of objDoc that would give me the cursor location.
I want the cursor location to create a selection object.
Any ideas?
I Dim objDoc As Word.Document to set it up for the Word Object Model.
Then I Set objDoc = ActiveInspector.WordEditor to get the Word Object Model of the current mail item.
But then I do not see anything inside of objDoc that would give me the cursor location.
I want the cursor location to create a selection object.
Any ideas?
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 am 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 will be using HTML and I have a little familiarity
with the DHTML object model, but the cursor location is eluding me so far.
On Wednesday, January 20, 2010 3:26 AM Michael Bauer [MVP - Outlook] wrote:
Outlook itself does not support that. But if Word is the email editor, you
can use the Word object model: The Inspector.WordEditor property returns a
Word.Document object.
--
Best regards
Michael Bauer - MVP Outlook
Manage and share your categories:
<http://www.vboffice.net/product.html?pub=6&lang=en>
Am Tue, 19 Jan 2010 22:16:01 -0800 schrieb Bob Bridges:
any
is
in
the
color)
familiaritySubmitted via EggHeadCafe - Software Developer Portal of Choice
Book Review: Excel 2010 - The Missing Manual [OReilly]
http://www.eggheadcafe.com/tutorial...w-excel-2010--the-missing-manual-oreilly.aspx