locked
Inspector Wordeditor RRS feed

  • Question

  • Inspector.Wordeditor is returning Null in Access 2010 trying to reach Outlook 2010

    The code looks like this:

        Dim myMail As Outlook.MailItem
        Dim myDoc As Word.Document
        Set myMail = myOutlook.CreateItem(olMailItem)
        myMail.Actions.Add
        myMail.Body = "testing"
        myMail.Display
        myMail.GetInspector.Activate
        Set xInspector = myMail.GetInspector
        Set myDoc = xInspector.WordEditor

    myDoc always shows up as Nothing.

    Thanks in advance.

    Friday, December 19, 2014 7:26 AM

Answers