A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Determine the source from an item with VB.Script



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 13th 08, 08:38 AM posted to microsoft.public.outlook.program_forms
Oskar Vaia
external usenet poster
 
Posts: 29
Default 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

Ads
  #2  
Old August 14th 08, 03:38 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Script: How to determine number of colunm and line used in an Excel Sheet bbnimda Outlook - Using Forms 0 December 11th 07 09:44 AM
Outlook Script: Who to know I and item is used by someone bbnimda Outlook and VBA 3 November 30th 07 04:39 PM
Determine if an Item is New dch3 Outlook - Using Forms 1 July 26th 07 04:17 AM
Item.Save and Item.Close Script causes Outlook 2007 to Crash Rayyan Outlook - Using Forms 6 November 25th 06 04:14 AM
Problem for getting the source item with ItemRemoveEventHandler Nico Add-ins for Outlook 2 May 24th 06 09:12 AM


All times are GMT +1. The time now is 08:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.