POOM Find

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

Hi All,

I want to do a POOM find based on the date but this does
not seem to be possible. Is there a way to do this?

Also, can we do wild card searches?

Thanks,
Fred.
 
Hi Fred, you can try using the Restrict method on the items collection.
Below is a simple example.

Set polItems = polApp.GetDefaultFolder(olFolderCalendar).Items
strquery = "[Start] = " & Chr(34) & formatdatetime(Now,vbShortDate) &
Chr(34)
Set polItems = polItems.Restrict(strquery)


This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top