PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming ActiveExplorer.Selection.Class returning olSelected

Reply

ActiveExplorer.Selection.Class returning olSelected

 
Thread Tools Rate Thread
Old 28-04-2004, 05:24 PM   #1
Johnny
Guest
 
Posts: n/a
Default ActiveExplorer.Selection.Class returning olSelected


I have ActiveExplorer.Selection.Class returning olSelected. I need
the actual class of the selected item(ie olMailItem, olTaskItem,
etc..) How can I get this from ActiveExplorer?

Thanks
  Reply With Quote
Old 28-04-2004, 05:40 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: ActiveExplorer.Selection.Class returning olSelected

Get the item you're interested in and test its Class:
ActiveExplorer.Selection(i).Class

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Johnny" <firewolf2000@hotmail.com> wrote in message
news:1e77f51d.0404280824.3a490548@posting.google.com...
> I have ActiveExplorer.Selection.Class returning olSelected. I need
> the actual class of the selected item(ie olMailItem, olTaskItem,
> etc..) How can I get this from ActiveExplorer?
>
> Thanks



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off