>>>>> Thanks for that. I assume the second 'Dim' was a typo?
>>>>>
>>>>>
>>>>> Sue Mosher [MVP-Outlook] wrote:
>>>>>> You might find the recent discussion at
>>>>>>
http://www.outlookcode.com/threads.aspx?forumid=4&messageid=26382
>>>>>> useful, as it was on a similar subject.
>>>>>>
>>>>>>> I don't know if it is a clue, but if I enter
>>>>>>> .GetInspector
>>>>>>> and then a period vba prompts with the options - including
>>>>>>> .WordEditor
>>>>>>> If I add a period to the end of that, there isn't the usual
>>>>>>> prompt offering .Range etc (though it doesn't baulk at its
>>>>>>> addition).
>>>>>>
>>>>>> Declare a Word.Document object and instantiate it:
>>>>>>
>>>>>> Dim objDoc as Word.Document
>>>>>> Dim objDoc = MyMessage.GetInspector.WordEditor
>>>>>>
>>>>>> You'll then get intellisense for objDoc.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Graham Mayor" <gmayor@REMOVETHISmvps.org> wrote in message
>>>>>> news:OMOY0M4oIHA.2068@TK2MSFTNGP05.phx.gbl...
>>>>>>> The only thing I do in Outlook is extract a line of code from a
>>>>>>> daily e-mail and paste it into a Word table, using a variation of
>>>>>>> the code we discussed on an earlier occasion.
>>>>>>>
>>>>>>> I don't appear to be able to do anything in code with the object.
>>>>>>>
>>>>>>> I don't get an OMG (?) prompt or any other prompt or error
>>>>>>> message. The Outlook message window opens the addressee and
>>>>>>> subject are filled and (if nothing is entered in the ".Body ="
>>>>>>> line) the default theme is used. The cursor is in the body area
>>>>>>> and nothing is pasted. Pressing CTRL V or clicking the Paste
>>>>>>> button pastes the formatted text.
>>>>>>>
>>>>>>> I don't know if it is a clue, but if I enter
>>>>>>> .GetInspector
>>>>>>> and then a period vba prompts with the options - including
>>>>>>> .WordEditor
>>>>>>> If I add a period to the end of that, there isn't the usual
>>>>>>> prompt offering .Range etc (though it doesn't baulk at its
>>>>>>> addition).
>>>>>>>
>>>>>>> It doesn't make any difference whether or not Outlook is running.
>>>>>>>