Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
VB.NET
Third Party Products
Find outlook appointment in public folder based on subject
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="dsk96m, post: 159716, member: 44173"] I am trying to find an item in a shared outlook calendar based on the subject. Here is my code: [CODE] olPublicFolder = olNameSpace.Folders("Public Folders") For i As Integer = 0 To calendarpath.Length - 1 If calendarpath(i) <> "" And calendarpath(i) <> "Public Folders" Then olPublicFolder = olPublicFolder.Folders.Item(calendarpath(i)) End If Next On Error Resume Next olAppt = olPublicFolder.Items.Find("[subject] like '*" & requestid & "*'") [/CODE] My issue is with the last line. It is not finding it. if i put [subject]="The entire subject line", it works, but I am just trying to find the appointment with a specific item in the subject, basically it is ID=23 or whatever the number is, will always be unique. How can I do a find with a like statement or that contains that. [/QUOTE]
Insert quotes…
Verification
Post reply
VB.NET
Third Party Products
Find outlook appointment in public folder based on subject
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom