POOM Find

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.
 
S

Stephanie Conroy [MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top