Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Determine the source from an item with VB.Script (http://www.outlookbanter.com/outlook-using-forms/76891-determine-source-item-vb-script.html)

Oskar Vaia August 13th 08 08:38 AM

Determine the source from an item with VB.Script
 
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


Sue Mosher [MVP-Outlook] August 14th 08 03:38 AM

Determine the source from an item with VB.Script
 
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



All times are GMT +1. The time now is 05:30 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com