Show current email

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello!

I need to read the current email (that I am standing on) and copy it to a
text box in a userform I wrote in VBA. How do I do that?

Yonina.
 
Am Mon, 28 Nov 2005 08:07:04 -0800 schrieb קובץ:

Yonina, the one in an Explorer selected mail (if any) is accessable with:
Application.ActiveExplorer.Selection(1)
 
how do I know if Application.ActiveExplorer.Selection(1)
is standing on an Inbox item or Sent Iems item?
in other words, how do I know in which folder the item is from?

thanks,
Yonina.
 
Am Tue, 29 Nov 2005 04:39:03 -0800 schrieb קובץ:

The ActiveExplorer also has an CurrentFolder property. Simply compare the
folder´s EntryID with the EntryID of the folder returned by the
GetDefaultFolder function.
 
Back
Top