You should be able to get that information from the item's Parent property,
which returns the parent folder.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Oskar Vaia" wrote:
Hy,
i use Outlook 2003.
Is it possible to determine with VB.Script, if the opened item (in my
example a taskitem) comes from a shared folder or from the own task-folder?
bye
Oskar