M
Martin
i'm trying to get access to a contact item in a public folder with the
following vbs script:
Set myOlApp = CreateObject("Outlook.Application")
Set olNS = myOlApp.GetNamespace("MAPI")
Set MyFolder = olNS.Folders("Öffentliche Ordner").Folders("Alle
Öffentlichen Ordner").Folders("econtact") 'ACHTUNG FOLDER ANPASSEN
'Set MyFolder = olNS.GetDefaultFolder(10)
Set MyItems = MyFolder.Items
Set MyItem =
MyItems.Find("[guid]='{4FE30271-8F48-4306-9912-1B45E1E3DAC8}'")
MyItem.Display
....
My Script works with the GetDefaultFolder Method in my Folder, but not in
this public folder.
Has anybody an advice how it works?
Thx Martin
following vbs script:
Set myOlApp = CreateObject("Outlook.Application")
Set olNS = myOlApp.GetNamespace("MAPI")
Set MyFolder = olNS.Folders("Öffentliche Ordner").Folders("Alle
Öffentlichen Ordner").Folders("econtact") 'ACHTUNG FOLDER ANPASSEN
'Set MyFolder = olNS.GetDefaultFolder(10)
Set MyItems = MyFolder.Items
Set MyItem =
MyItems.Find("[guid]='{4FE30271-8F48-4306-9912-1B45E1E3DAC8}'")
MyItem.Display
....
My Script works with the GetDefaultFolder Method in my Folder, but not in
this public folder.
Has anybody an advice how it works?
Thx Martin