Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveInspector = Nothing in Outlook

Status
Not open for further replies.

Crundy

Programmer
Jul 20, 2001
305
GB
Hello,
I am trying to access the currently selected email in an imap account in Outlook XP, but the ActiveInspector object always seems to be equal to 'Nothing'. e.g.

Set myOlApp = CreateObject("Outlook.Application")
Set myinspector = myOlApp.ActiveInspector
MsgBox TypeName(myinspector)

Returns "Nothing".
Does anyone know what's going on?

C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top